Javascript While Loop Example

Javascript While Loop Example

Javascript While Loop Example


javascript while loop example,while loop syntax in javascript,how to use while loop in javascript,for while loop javascript,while loop example in javascript



While

<html>
<head>
<title>
welcome
</title>
</head>
<body>
<script>
var a;
a=1;
while(a<=10)
{
document.write(a);
a++;
}
</script>
</body>
</html>


Post a Comment

0 Comments