Control Flow - if / else if / else

// Console log will be “a is equal to 5”
let a = 5;
if (a < 5) {
  console.log ("a is less than 5");
} else if (a === 5) {
  console.log ("a is equal to 5")
} else {
  console.log ("a is greater than 5")
}

Control Flow - while loop

// Console log will be “0 1 2 3”
let count = 0;

while (count < 4) {
  console.log("Count is ", count);
  count ++;
}

While loop

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