Array Methods and Properties
The following table describes array methods and properties.
Method or Property | Description |
---|---|
Appends new elements to the end of an array. |
|
Searches an array for a value that you specify |
|
Sorts elements in an array. |
|
Creates a string of array elements. |
|
Returns the last element of the current array object, and then removes the element from the array. |
|
Returns the length of a dynamically created array. |
|
Returns a number that includes the largest index of an array, plus 1. |
|
Inserts new elements into an array. |
|
Reverses the order of elements of an array. |
|
Sets the size of an array. |
|
Sorts array elements. |