Edit This Code:
See Result »
The pop method removes the last element from an array.
Try it
Result: