How come when I reverse the logic here and make it const myArray.pop() = removedFromMyArray, then I get an error message on the question
Your code so far
// Setup
const myArray = [["John", 23], ["cat", 2]];
// Only change code below this line
const removedFromMyArray = myArray.pop()
Challenge: Basic JavaScript - Manipulate Arrays With pop()
Link to the challenge: