JavaScript Arrays

The shift() Method

shift() removes the first item of an array: