The break Statement : For : Language Basics JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Language Basics » For »

 

The break Statement




<HTML>
<HEAD>
<TITLE>Using the Break Statement</TITLE>
</HEAD>
<BODY>
<SCRIPT><!--
for(i=100;i>0;--i){
 document.write(i+"<BR>")
 if(i%17==0
   break;
}
// --></SCRIPT>
</BODY>
</HTML>
           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Language Basics
» For