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

Fixing Loop Closures with IIFE

Before let, an immediately-invoked function expression would create a new scope per iteration to capture distinct values.

This lesson is for subscribers

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