This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Closures capture references to variables, so they see the current value at access time, not the value at closure creation.
You've completed the free preview. Subscribe to unlock every lesson in every course.