Javascript pop array method

pop

Removes the last element from an array and returns that element.
Syntax

array.pop()

Example

myFish = ["angel", "clown", "mandarin", "surgeon"];
popped = myFish.pop();

DOWNLOAD SOLUTION HERE