Course contentsShow
JavaScript
Lesson 525 of 2,72313. ClosuresPro lesson

The Loop Variable Capture Problem

Understanding why var in loops causes all closures to share the same variable reference.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.