My code is failing "For" loop test with a For loop

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:

This is a know issue. It’'s currently worked onto. I can advice you to skip this lesson and return later onto.

Thanks for informing me. I can close this issue then since it is being worked on elsewhere.

@jpeavler The bug has now been fixed, so you should be able to complete the challenge.