Tell us what’s happening:
Describe your issue in detail here.
I keep getting this error :
You should use pop() on myArray.
removedFromMyArray should only contain [“cat”, 2].
Your code so far
// Setup
const myArray = [["John", 23], ["cat", 2]];
// Only change code below this line
var removeFromMyArray = myArray.pop();
Your browser information:
User Agent is: Mozilla/5.0 (Linux; Android 9; Infinix X650D) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.98 Mobile Safari/537.36
Challenge: Manipulate Arrays With pop()
Link to the challenge: