JavaScript’s ______ operator can be used to create a new object with the specified prototype object and properties.

  • New
  • Prototype
  • Object.create()
  • Construct
JavaScript's "Object.create()" operator can be used to create a new object with the specified prototype object and properties. This method is commonly used for creating objects with specific prototypes in JavaScript, allowing for more control over inheritance and object composition.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *