Search
Method unshift(Object element1, Object elementX)
Adds one or more elements to the beginning of an array and returns the new length.
Returns
void
Arguments
Name |
Type |
Description |
element1 |
Object
|
Element to add |
elementX |
Object
|
Optional. Element to add |