Dados JS JSON indefinidos
// Wrong
const objMaker = () => { answer: 42 };
// Right
const objMaker = () => ({ answer: 42 });
Puzzled Puffin
// Wrong
const objMaker = () => { answer: 42 };
// Right
const objMaker = () => ({ answer: 42 });