new operator

[1/1]

  1. Demystifying Object Instantiation with JavaScript's "new" Operator
    Empty Object Built: When you use new with a constructor function, JavaScript creates a brand new, empty object.Prototype Linked: The new keyword then connects this new object to the constructor function's prototype