QP School

Full Version: JavaScript - Do...While Loop Example
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Code:
let i = 0;

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