A Array.prototype (Property) Array objects inherit these (Web design templates)

A Array.prototype (Property) Array objects inherit these properties from the built-in Array prototype: . Array.constructor . Array.prototype Array objects inherit these methods from the built in Array prototype: . Array.join() . Array.reverse() . Array.sort() . Array.toString() Array instances provide these properties themselves even if the prototype has them: . Array.length The example demonstrates how to provide extensions to all instances of this class by adding a function to the prototype object. Example code: