0
what is problem,
var x=0; for(; x<=10;){ if(x==6){ continue; } document.write(x +"<br>") x++; }
3 Respuestas
+ 2
it produce an infinite loop.
when x==6. the loop continue
but x is still 6 so x==6 is true again, and again and again
+ 1
Put semicolon after document.write statement.                          👇
document.write (x+"<br>");
+ 1
var x=0;
for(; x<=10;){
    if(x==6){
       continue;
}
   document.write(x +"<br>");
   x++;
}
this condition is not run. no result no error. just show blank page.  what is problem



