The pop() method "pops" elements off the end of the array. | |
The pop() method deletes the last element of the array and sets the array's length property to one less than its current value. | |
This last element is returned from the method. | |
The following example uses the pop() Method to Remove Elements from the End of an Array. | |
|