Currently, objects are defined in a .then statement and are console.logged for testing, and outputs `undefined`.
Currently, objects are defined in a .then statement and are console.logged for testing, and outputs
undefined.