Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: