Tell us what’s happening:
How do I add the number to the array? I have put stuff into the input field and the tests come up fine in all but the number and I end up with errors on how the code is placed but it states that it passes the test?
Your code so far
// Only change code below this line
var myArray = [];
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36 Edg/84.0.522.61.
Challenge: Store Multiple Values in one Variable using JavaScript Arrays