I don't seem to get the pop right!

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

// Setup
const myArray = [["John", 23], ["cat", 2]];

// Only change code below this line
const removeFromArray = myArray.pop()

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36

Challenge: Manipulate Arrays With pop()

Link to the challenge:

HI @Josima !

This is incorrect

Reread the directions for the correct variable name

and assign the popped off value to a new variable, removedFromMyArray

Thanks a lot.
Very helpful

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.