JS Do While Loop

 
<!DOCTYPE html>
<html>
<head>
  <title>JavaScript</title>
  <script>
    var a = 1;
    do{
      document.write(a + " Hello Yahoo Baba<br>");
      a++;
    }while(a <= 10)
  </script>
</head>
<body>
</body>
</html>