BonsaiDen/JavaScript-Garden

Minor typo in "Closures Inside Loops"

yaromir opened this issue · 4 comments

At the time console.log gets called, the for loop has already finished, and the value of i as been set to 10.

Looks like it should be:

At the time console.log gets called, the for loop has already finished, and the value of i has been set to 10.

Thanks!

Feel free hit hit 'edit' and create a PR, then you'll appear in the contributors list :)

Turned out this typo was already fixed. :) Just need to regenerate html for site at github.io.
Anyway thanks for attention to the problem. :)

Confirmed this is fixed now.