pop Method (JScript 5.6)
Removes the last element from an array and returns it.
arrayObj.pop( )
Remarks
The required arrayObj reference is an Array object.
If the array is empty, undefined is returned.
Requirements
Applies To: Array Object (JScript 5.6)