let n = 0;

while (n < 3) {
  n++;
}

console.log(n);
// Expected output: 3