Has anybody encountered any bug on this section?


#1



So I write this code:

for (var i = 5; i < 51; i + 5) {
	console.log(i);
}


And when I press SAVE&SUBMIT CODE the page freezes.
What can I do ?


#2

Hi it's a infinit loop and it's this part that give you that

i + 5

you should do it like that

i += 5
or
i = i + 5

#3

Thank you,must have misunderstood the code,really helped me out ! :slight_smile: