JavaScript & jQuery Tutorials

JS Home Right Arrow JS Reference Right Arrow Array Right Arrow prototype

prototype  Array  class property

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