JS JSON Data Undefined

// Wrong
const objMaker = () => { answer: 42 };

// Right
const objMaker = () => ({ answer: 42 });
Puzzled Puffin