Minor typo in "Closures Inside Loops"
yaromir opened this issue · 4 comments
yaromir commented
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.
timruffles commented
Thanks!
timruffles commented
Feel free hit hit 'edit' and create a PR, then you'll appear in the contributors list :)
yaromir commented
Turned out this typo was already fixed. :) Just need to regenerate html for site at github.io.
Anyway thanks for attention to the problem. :)
peterjwest commented
Confirmed this is fixed now.