javascript

Prototypes

An object's parent is called : Prototype

The Object prototype

Has the next property functions

  • valueOf
  • constructor
  • toLocaleString
  • toString
  • isPrototypeOf
  • propertyIsEnumerable
  • hasOwnProperty

The Array prototype

Has the next property functions

  • pop()
  • push()
  • shift()
  • reverse()
  • sort()
  • join()
  • reduce()
  • slice() 

The String prototype

Has the next property functions

Pages

Subscribe to RSS - javascript