Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Level 5 lesson 6: continue;

What is the right code to execute the question?
by

1 Answer

sam5epi0l
Try this code:


let x = 0;

while(x < 10)
{
if(x == 5) {
x++;
continue;
}
console.log(x);
x++;
}

Login / Signup to Answer the Question.