while



examples/javascript/while.js
var i = 5;

while (i > 0) {
  console.log(i);
  i--;
}