====== Returning an Object from an arrow function ====== If you want to return the object from the arrow function, you'll need to either use the **return** keyword: const getObject = () => { return { key: 'value' }; }; Or **use parentheses** to make it an **[[java-script:arrow-function-implicit-return|implicit return]]** of an object literal: const getObject = () => ({ key: 'value' });