prototype
Array
class property
JS Home <<
JS Reference <<
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.prototype | Enables property assignment to objects of type Array . |
Parameters
None.
Examples
The code below displays Array
prototype.
alert('Array prototype is ' + Array.prototype);
Related Tutorials
JavaScript Intermediate Tutorials - Lesson 1 - Arrays