array (JavaScript 1.1)

An array is an ordered list of elements.

Properties & Events

KeyDescriptionAvailability
constructorSpecifies the function that creates the Array prototype.
chrome 1.0safari 1.0Firefox 1.0ie 4.0opera 7.0
lengthInteger specifying the number of elements in an array.
chrome 1.0safari 1.0Firefox 1.0ie 4.0opera 7.0
prototypeRepresents the Array prototype object.
chrome 1.0safari 1.0Firefox 1.0ie 4.0opera 7.0

Result from the Online TryIt-Editor
chrome 1.0safari 1.0Firefox 1.0ie 3.0opera 4.0

Examples having uses of: 'array'

0 votes
1k views

JavaScript Array Object

Javascript array is used to store multiple values in a variable.