looks good

Tell us what’s happening:
i watched a video that looks exactly like this but it has a syntac error sign…can anyone tell me where i went wrong

Your code so far

// Setup
var myArray = [["John", 23], ["cat", 2]];

// Only change code below this line
var myArray.push(["dog", 3]);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.80 Safari/537.36 Edg/86.0.622.43.

Challenge: Manipulate Arrays With push()

Link to the challenge:

var myArray.push(["dog", 3]);

The keyword var is only used when you declare a variable for the first time. This var is just sort of randomly hanging out in a line of code.

so myArr.push([“dog”,3]);is that good

yes thanku…it helped