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