Manipulate Arrays With push() - this should be correct?

The problem is here, in the following line:

The challenge is asking you to push an array: ["dog", 3] but you pushed only separated data: a string and an integer: "dog", 3.

The first will result in this: var myArray = [["John", 23], ["cat", 2], ["dog", 3]];
The second will result in this: var myArray = [["John", 23], ["cat", 2], "dog", 3]; and this is not what the challenge is asking.

I hope this was helpful,
and it’s up to you now to push the array ["dog", 3] into myArray.

2 Likes