Please help me to solve this guys

// Setup
var myArray = [["John", 23], ["dog", 3]];

var arr = [1,2,3,4,5];
// Only change code below this line

Challenge: Manipulate Arrays With unshift()

Link to the challenge:

This is so simple you need carefully read tutorial then try it

Hi @rhemiSINGH !

The problem is here

Here are the instructions again.
Add ["Paul",35] to the beginning of the myArray variable using unshift() .

I am also going to include the documentation for unshift.

Hope that helps!


  1. Do not post solutions. Help people learn by explaining the problem to them so they can pass the challenge.

  2. Do not post images of code, post the actual code. Not now though, again we do not want people posting solutions.

Noted. Wont do that next time. Thanks

1 Like


You need to see how unshift works and read better the conditions/rules they given you. I mean, what you need to put on unshift() ? The answer is in the text they given you.

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