it shows your code is wrong
is anyone help me out…?
// Setup
var myArray = [["John", 23], ["cat", 2]];
// Only change code below this line
var removeFromMyArray = myArray.pop();
console.log(removeFromMyArray);
console.log(myArray);
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36
Challenge: {{challengeTitle}} Basic JavaScript - Manipulate Arrays With pop Method