Below is snippet of code for breaking the Execution of statement using break statement
for(st=1;st<=20;st=st+5) {
if(st == 15) {
break;
}
document.write(st+"<br>");
}
output comes
1-6-11-16
I don't understand why 16 appear as loop should break on 15..