Created
May 1, 2014 20:59
-
-
Save JerrySievert/bb7366aca4153f8a9d68 to your computer and use it in GitHub Desktop.
scope issues
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (var i = 0; i < 1000; i++) { | |
setTimeout(function () { | |
console.log(i); | |
}, 1000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment