SOURCE

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);
console 命令行工具 X clear

                    
>
console