Prototype

All javascript objects inherit properties and methods from a prototype.

  • Date object inherits from Date.prototype

  • Array object inherits from Array.prototype

The Object.prototype is on the top of the prototype inheritance chain.

Last updated