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

Level 5 > Lesson 6 JavaScript

let x = 0;

while(x < 10){
if(x === 5) {
x++;
continue;
}
console.log(x);
x++;
}
This is the solution that I put in code editor , but it's displaying me every-time "Try again"
by

2 Answers

iamabhishek
Hey, please try again once, there was some issue with compiler but it's fixed now.
Susanta163bw
let x = 0;

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

Login / Signup to Answer the Question.