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

Capturing Variables, Not Values

Closures capture references to variables, so they see the current value at access time, not the value at closure creation.

This lesson is for subscribers

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