Skip to content

Instantly share code, notes, and snippets.

@thebyrd
Created May 15, 2013 02:33
Show Gist options
  • Save thebyrd/5581275 to your computer and use it in GitHub Desktop.
Save thebyrd/5581275 to your computer and use it in GitHub Desktop.
who knew you could write for loops this way in javascript?
for(var i = 0; i < 10; i++) !function (n) {
console.log(n)
}(i)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment