8 last practice for loops


#1

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

running this and getting a syntax error for unexpected token. Dunno why. Halp?


#2

Remove semicolon ; after i -= 5


#3

Ahah right thanks xP