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

I'm Just confused here

LEVEL5 > LESSON 6
The continue Statement
I have tried many possible way to solve this but i am not getting succeed this lesson.
please help ASAP.
by

1 Answer

kshitijrana14
Try this one

let x = 0;

while(x < 10)
{

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

}

Login / Signup to Answer the Question.