/* STRUCTURE: while (condition) { statement } In a while loop, an expression (or condition) is evaluated. While this condition is true, the statement within the loop gets executed. EXAMPLE: */ var n = 1; while (n < 6) { console.log("n is less than 6. n = " + n); n++; }