Do While loop : Do While : Statement JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Statement » Do While »

 

Do While loop

















<html>
<head>
<title>A Simple Page</title>
<script language="JavaScript">
<!--
var x = 1
do
{
    ++x;
    document.write(x);
}
while (x < 10);

//  -->
</script>
</head>
<body>

</body>
</html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Statement
» Do While