prototype  Array  class propertyS2C Home  « Globals « Array « prototype

Description

Enables property assignment to objects of type Array.

  • Like all class properties prototype should be used on the class rather than an instance of the class.

Syntax

Signature Description
Array.prototypeEnables property assignment to objects of type Array.

Parameters

None.

Examples

The code below displays Array prototype.



alert('Array prototype is ' + Array.prototype);

Press the button below to action the above code:



Related Tutorials


JavaScript Intermediate Tutorials - Lesson 1 - Arrays




go to home page Homepage go to top of page Top