The expectation was for the code snippet to output 100 times with the value of i.
https://i.sstatic.net/4XRXE.png
However, it only prints out once as shown below.
What could I be overlooking here?
let i = 0;
for (; i++; i < 100) {
console.log('Loop ==>' + i);
}
console.log('Loop Done');
console.log('Value of i ==>' + i);