startit/eloquentjavascript/script.js

5 lines
86 B
JavaScript

let number = 0;
while (number <= 12) {
console.log(number);
number = number + 2;
}