const max = 100; let counter = 0; if (counter < max) { counter++; } console.log(counter); // 1 Code language: JavaScript (javascript)