JavaScript Arrays

The pop() Method

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

Banana,Orange,Apple,Mango

Banana,Orange,Apple