In JavaScript, every function has a ______ property that points to the object it was created from.

  • object
  • constructor
  • instance
  • funcObj
Every function in JavaScript has a constructor property that points to the object (constructor) it was created from. This property is useful for identifying the constructor function of an object.
Add your answer
Loading...

Leave a comment

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