Home | Mailing List | Blog | Tutorial Videos

Manipulate an Array with pop()

Which of the following options uses the pop array method to remove the last item from myArray, assigning the "popped off" value to removedFromMyArray?

var myArray = [["John", 23], ["cat", 2]];

var removedFromMyArray;

Select one: