JSFiddle - React, Tailwind, and code Playground
by Ian Sanders
JavaScript
let l = 0;
for (let i = 0; i<5; i++){
for(; l < i + 1; l++){
}
}
console.log(l); // 5
by Ian Sanders
let l = 0;
for (let i = 0; i<5; i++){
for(; l < i + 1; l++){
}
}
console.log(l); // 5