Manipulate Arrays With shift

Tell us what’s happening:

Your code so far

// Example
var ourArray = ["Stimpson", "J", ["cat"]];
removedFromOurArray = ourArray.shift();
// removedFromOurArray now equals "Stimpson" and ourArray now equals ["J", ["cat"]].

// Setup
var myArray = [["John", 23], ["dog", 3]];

// Only change code below this line.
var removedFromMyArray = myArray .shift();


Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.2; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0.

Link to the challenge:
https://www.freecodecamp.org/challenges/manipulate-arrays-with-shift

There is an extra space between myArray and .shift().

In the future, it could be great if you could describe what you have tried—it helps both yourself and the people trying to help you.

I’m having the same issue.