Tell us what’s happening:
Describe your issue in detail here.
im not really understanding where im going wrong in this. can i get a hint?
Your code so far
// Setup
const myArray = [["John", 23], ["cat", 2]];
// Only change code below this line
const removedFromArray = myArray.pop();
console.log(removedFromArray);
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
Challenge: Basic JavaScript - Manipulate Arrays With pop()
Link to the challenge: