QP School
JavaScript - Do...While Loop Example - Printable Version

+- QP School (https://qomplainerzschool.lima-city.de)
+-- Forum: Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=3)
+--- Forum: JavaScript Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=6)
+--- Thread: JavaScript - Do...While Loop Example (/showthread.php?tid=4099)



JavaScript - Do...While Loop Example - Qomplainerz - 04-04-2023

Code:
let i = 0;

do
  {
    i += 1;
    document.write(i + "<br>");
  } while (i < 15);