Using the unshift() property correctly

Using the unshift() property correctly

Tell us what’s happening:
Hi I’m not sure what I’m doing wrong. Probably just too tired to notice the very obvious yet not so obvious error.

I am looking at the unshift property example and my code and it is pretty much the same! Not sure why it’s not allowing me to pass.

Your code so far

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

// Setup
var myArray = [["John", 23], ["dog", 3]];
// Only change code below this line.
myArray.unshift("Paul", 35);

Your browser information:

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

Link to the challenge:

Look closely at the instructions. It does not say add “Paul” and 35 to the beginning of myArray. It wants you to add an array containing “Paul” and 35 as elements to the beginning of myArray.