let animal = new Object(); animal.name = 'dog'; console.log(animal); console.log(animal.name); let fruit = new Object({ name: 'apple' }); console.log(fruit); console.log(fruit.name);