https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/manipulate-arrays-with-push

Tell us what’s happening:

Your code so far


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

// Only change code below this line
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/88.0.4324.96 Safari/537.36 Edg/88.0.705.56.

Challenge: Manipulate Arrays With push()

Link to the challenge:

try to look again at the challenge description, see how push is used there

Also, you have made changes above this comment.