When you create an object from the constructor in Google Chrome and display the name of the variable in which the object is saved, the identifier of the constructor is in front of the curly brackets, that is, the console MyConstructor {...} . What does it mean? As I know, the variable should contain the address of the object, but where did the name of the constructor come from before the curly braces, that is, the object ?? When executing code in other browsers or there is no such thing ...
function MyConstructor() {}; var a = new MyConstructor(); console.log(a);