Edit The Code:
See Result »
Try it Yourself - ©
w3ii.com
The pop method removes the last element from an array.
Try it