JavaScript Array Methods

shift()

The shift() method removes the first element of an array (and "shifts" all other elements to the left):