# shift

Function • Removes value from the start of the array and returns it, mutating the array.


Arguments

name type description
array Array The array from which to get the value.

Returns

name type description
value Any The element removed from the array.