Array.shift

any shift ()

Description

Removes the first element from the array, decreases the length by 1, and returns the value of the element.

Returns the value of the deleted array element.