Please what wrong with this code :::::::

Tell us what’s happening:

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 (Linux; Android 9; SM-A105F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Mobile Safari/537.36.

Challenge: Manipulate Arrays With unshift()

Link to the challenge:

friend you have to insert Paul not " paul". Pay attention to the details carefully

1 Like

myArray should now have [[“Paul”, 35], [“dog”, 3]].

@Ahmed15 javascript is a case-sensitive language… make sure all your characters are equal to the expected results… it’s right in front of you… :slight_smile:

1 Like