Array.pop

any pop ()

Description

Removes the last element from the array, decreases the length by 1, and returns the value of the element.

Returns the value of the deleted array element.