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.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

JavaScript Basics

JavaScript Basics

JavaScript Intermediate

JavaScript Intermediate

JavaScript Advanced

JavaScript Advanced

JavaScript Reference

JavaScript Entities

Globals

Array

Class Properties
prototype
Instance Properties
constructor
length
Class Methods
None.
Instance Methods Getters
concat()
join()
slice()
toString()
Instance Methods Setters
pop()
push()
reverse()
shift()
sort()
splice()
unshift()

Statements

Operators