All Objects have a parent Object Prototype

Object Prototypes are like a blueprint for all other objects and it passes the other objects its properties.

Passing down properties is called Inheritance. Inheritance helps avoid over-coding multiple properties and methods into similar objects.

Object Prototype Methods:

  • valueOf

  • constructor

  • toLocaleString

  • toString

  • isPrototypeOf

  • propertyIsEnumerable

  • hasOwnProperty

results matching ""

    No results matching ""