Do while loop : While : Language Basics JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Language Basics » While »

 

Do while loop



<html>
<body>

<script type="text/javascript">
i = 0
do{
    document.write("The number is " + i)
    document.write("<br>")
    i++
}while (i <= 5)
</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