Unable to complete this task

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

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

showing this and i cant complete

// running tests


myArray


should now have


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


. // tests completed [ [ 'paul', 35 ], [ 'dog', 3 ] ]

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

1 Like

Hi @botoxyang506 !

Welcome to the forum!

I edited your post to include the link so we know what challenge you are working on. In the future, you can use the Ask for Help button.

The error is telling you this

but you wrote this

Capitalization matters. Once you make that small change the test will pass.

1 Like
<p>Solved</p>

Thank you It’s Working now

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