Javascript continue statement - Part II

Notes:

javascript continue statement - Part II

Ex: Continue inside while loop
var i=0;
while(i<5){
i++;
if(i==3)
{
continue;
}
document.write(i,"<br/>");
}

Ex: Continue inside do while loop
var i=0;
do{
i++;
if(i==3)
{
continue;
}
document.write(i,"<br/>");
}while(i<5);

Interview Questions: