# unshift

Function • Adds value to the start of the array and returns the mutated array.


Arguments

name type description
value Any
array Array The array to which to add the value.

Returns

name type description
array Array The mutated array.