Manipulate Arrays With push()..12

please help, it keeps saying "TypeError: myArray.Push is not a function "


// Setup
const myArray = [["John", 23], ["cat", 2]];
// 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/101.0.4951.54 Safari/537.36 Edg/101.0.1210.39

Challenge: Manipulate Arrays With push()

Link to the challenge:

all code is case-sensitive.

2 Likes

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