[This is preliminary documentation and subject to change]
Removes the first element from an array and returns it.
arrayObj.shift( )
The required arrayObj reference is an Array object.
The shift method removes the first element from an array and returns it.
Applies To: Array Object