conventions.io

Tech Challenge

2026-09-18

🟨

Daily Tech Challenge

JavaScript

medium
Question 1 of 5

What does this do...while loop log?

Example
let i = 0;
let out = '';

do {
  i++;
  if (i % 2 === 0) continue;
  out += i;
} while (i < 5);

console.log(out, i);

Friday, September 18, 2026 · A new challenge drops every day