Basic JavaScript - Manipulate Arrays With shift()

Tell us what’s happening:
Describe your issue in detail here.
removedFromMyArray should contain ["John", 23]
I can’t get what’s wrong??? Any Help please
Your code so far

// Setup
const myArray = [["John", 23], ["dog", 3]];
const removedFromOurArray = myArray.shift();

// Only change code below this line

Your browser information:

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

Challenge: Basic JavaScript - Manipulate Arrays With shift()

Link to the challenge:

re-read the instructions. You don’t have the correct variable name.

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