Why is this unshift not working?

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

Your code so far


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

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

console response=
// running tests

myArray

should now have

[["Paul", 35], ["dog", 3]]

. // tests completed

Your browser information:

Challenge: Manipulate Arrays With unshift()

Link to the challenge:

well… the “capitalization” got me again!!!
LOL, I see it now. Thx

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