Menu
×
×
Correct!
Exercise:Make the loop stop when
for (i = 0; i < 10; i++) {
console.log(i);
if (i == 5) {
@(5);
}
}
for (i = 0; i < 10; i++) {
console.log(i);
if (i == 5) {
break;
}
}
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 67 exercises.
Are you sure you want to continue?