while (CONDITION) {

}
examples/intro/while.js
"use strict";

var n = 1;
while (n < 7) {
    n++;
    console.log(n);
}
2
3
4
5
6
7