shift Method (JScript 5.6)
Removes the first element from an array and returns it.
arrayObj.shift( )
Remarks
The required arrayObj reference is an Array object.
The shift method removes the first element from an array and returns it.
Requirements
Applies To: Array Object (JScript 5.6)