Hacker News new | ask | show | jobs
by ydant 5832 days ago
Well, num is the stable variable, it's i that's the issue.

Grokking what's going on here is one of the more important parts of using closures without introducing unexpected bugs.