Core Object | NN | IE | ECMA |
Array | Multidimensional variable | 2+ | 4+ | ECMA 1 |
|
Methods | NN | IE | ECMA |
concat() | Combines two existing Array objects to one | 3+ | 4+ | ECMA 1 |
join() | Returns a string with elements from an Array | 2+ | 4+ | ECMA 1 |
pop() | Removes the last value from an Array. | 3+ | 5.5+ | ECMA 1 |
push() | Appends a value to the end of an Array. | 3+ | 5.5+ | ECMA 1 |
reverse() | Reverse the order of elements in an Array. | 2+ | 4+ | ECMA 1 |
shift() | Removes the first value from an Array. | 3+ | 5.5+ | ECMA 1 |
slice() | Returns a subset from an Array. | 3+ | 4+ | ECMA 1 |
sort() | Sorts an Array. | 2+ | 4+ | ECMA 1 |
splice() | Adds new elements to an Array while removing old elements. | 3+ | 4+ | ECMA 1 |
toLocaleString() | Returns a String with current locale format and separators. | n/a | 4+ | ECMA 1 |
toSource() | String representing the source code of the object. | 4+ | n/a | n/a |
toString() | Returns Array elements as string type separated by commas. | 2+ | 4+ | ECMA 1 |
unshift() | Inserts a value at the beginning of an Array. | 3+ | 5.5+ | ECMA 1 |
valueOf() | Returns Array elements as string type separated by commas. | 2+ | 4+ | n/a |
|
Properties | NN | IE | ECMA |
constructor | Reference to the function that created an object. | 2+ | 4+ | ECMA 1 |
index | Zero-based index of the match for array created by a regular expression match. | 3+ | 4+ | n/a |
input | Original string used to match for array created by a regular expression match. | 3+ | 4+ | n/a |
length | Returns the length of an Array | 2+ | 4+ | ECMA 1 |
prototype | Creates a new method for Array objects | 2+ | 4+ | ECMA 1 |