What's something i should correct over here?

Tell us what’s happening:
Describe your issue in detail here.

Your code so far


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

// Only change code below this line
myArray.unshift[("Paul", 35)];

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36

Challenge: Manipulate Arrays With unshift()

Link to the challenge:

Hello,
It should be like this myArray.unshift(["Paul", 35]); not the other way around.

1 Like

Thankyou for helping !

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