The do..while Statement Ensures at Least One Iteration : While : Language Basics JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Language Basics » While »

 

The do..while Statement Ensures at Least One Iteration



<html>
<head>
  <title>The do..while Statement Ensures at Least One Iteration</title>
</head>
<body>
<script language="JavaScript1.2" type="text/javascript">
  <!--
    var userEntry = 0;
    var x = 1;
   
    do{
      document.writeln(x);
      x++;
    }while(x <= userEntry);
  // -->
  </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
» While