array.unshift()

Adds an element at the beginning of the array and shifts the rest of the elements to the right.

array.unshift( value=any )

Returns: [[object-number|Numeric]

Argument Description
value
any, required

element to add.

Examples

There are currently no examples for this function

See also