Last practice for loop


Hello, I have a question about why my code crashes the browser.

for (var i = 100; i > 0; i - 5) {

I know the correct way to write it but this was my first try and based on what the lessons taught me this should work.


Try it by replacing your


i = i - 5


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