Do While Loop tutorial in JavaScript
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Do While Loop JavaScript</title>
<script>
var a = 1;
do {
document.write(a + ") Hello World<br>");
a++;
} while (a <= 10);
</script>
</head>
<body>
</body>
.png)
.png)
.png)
Comments
Post a Comment