JavaScript Array Methods

pop()

The pop() method removes the last element from an array.