OOP: new operator
• new creates a proper object (a generic
object for user-deﬁned constructors).
• It takes a prototype from a constructor
object and assigns it to the newly created
object (this step cannot be done in any
• It passes the object as a context to a