A `let` in a loop header should create a new binding for each iteration. This code should print out 0 1 2 ``` let fa = []; for (let i = 0; i < 3; ++i) { fa.push(() => i); } fa.forEach(f => console.log(f())); ``` However, it prints 3 three times.
A
letin a loop header should create a new binding for each iteration.This code should print out 0 1 2
However, it prints 3 three times.