The Array Object's Properties and Methods Are Described Below:
NN: Netscape, IE: Internet Explorer
PROPERTIES
Syntax: Object.property_name
PropertyDescriptionNNIE constructorContains the function that created an object's prototype44lengthReturns the number of elements in the array34prototypeAllows you to add properties to an array34
Methods
Syntax: Object.method_name ()
MethodDescriptionNNIEconcat () Joins two or more arrays and returns a new array44join (delimiter) Puts all the elements of an array into a string separated by a specified delimiter (comma is default) 34pop () Removes and returns the last element of an array45.5push ( "element1", "element2") Adds one or more elements to the end of an array and returns the new length45.5reverse () reverses the order of the elements in an array34shift () Removes and returns the first element of an array45. 5slice (begin [, end]) Creates a new array from a selected section of an existing array44sort () Sorts the elements of an array34splice (index, howmany [, el1, el2]) Adds and / or removes elements of an array45.5toSource () Returns a string that represents the source code of the array4.064toString () Returns a string that represents the specified array and its elements34unshift ( "element1", "element2") Adds one or more elements to the beginning of an array and returns The New Length45.5Valueof () Returns The Primitive Value of An Array43