Multiple ChoiceHard 30s
Closure in Loops
Choose the best answer for: closure loop trap
Options
- 1for loops can't create closures since each trip shares a binding
- 2var in a loop captures the same variable; let creates block scope
- 3Closures don't work in loops and always read the final index value
- 4let has the same loop issue as var and captures one shared binding
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.