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:
ilenia
2
try to look again at the challenge description, see how push
is used there
Also, you have made changes above this comment.
system
Closed
4
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.