JavaScript Array Object Reference Manual





Note: FF = Firefox, N = Netscape, IE = Internet Explorer






Array Object



Ways Description FF N IE
concat () Connect two or more of the array, and return results 1 4 4
join () Put all the elements of the array into a string. Elements by specifying the delimiter separated. 1 3 4
pop () Delete and return the last array element 1 4 5.5
push () Add to the array at the end of one or more elements, and return the new length. 1 4 5.5
reverse () Reversed the order of elements in the array. 1 3 4
shift () Delete and return the first element of the array 1 4 5.5
slice () From a return has been selected array element 1 4 4
sort () Elements of the array to sort 1 3 4
splice () Delete elements, add new elements to the array. 1 4 5.5
toSource () On behalf of the object's source code 1 4 --
toString () Put array converted to string and return the results. 1 3 4
toLocaleString () The array is converted to the local array, and return the results. 1 3 4
unshift () Add to the array at the beginning of one or more elements, and return the new length. 1 4 6
valueOf () Return the original value of the array object 1 2 4





















































Array Object property

Property Description FF N IE
constructor To create this object as a reference function 1 2 4
index String object in the call match () methods return an array index value of property 1 3 4
input String object in the call match () methods return an array of regular expressions on behalf of the string property 1 3 4
length Set or return the number of array elements. 1 2 4
prototype So you have the ability to object to add properties and methods 1 2 4