Last practice for loop


#1


for (var i = 100; i >= 0; i -= 5); {
    console.log(i);
}

It says it is not printing 100?? what am I doing wrong


#2

for (var i = 100; i >= 0; i -= 5); <---- remove semicolon :grinning:


#3

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