let a = new Object();
Creates a new object printed as {} .
let a = {};
Creates a new object printed as {} . Not completely different from the approach above.
let a = Object;
Object is the constructor that calls it will return a new object, but it's better to use the new keyword for code conventions. I personally prefer to use let a = {}; in javascript. A constructor is a function, so the console told you that it just created a function.
Randy source share