Tell us what’s happening:
Update: this issue is being addressed elsewhere. This concern can now be closed.
The test is failing me for not using a “for” loop despite using a “for” loop.
Your code so far
// Setup
var myArray = [];
// Only change code below this line
for (var i = 1; i < 6; i++){
myArray.push(i);
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36
.
Challenge: Iterate with JavaScript For Loops
Link to the challenge: