The shift method removes the first element of an array, and "shifts" all other elements one place up.