Skip to content

Instantly share code, notes, and snippets.

@paveltretyakovru
Last active November 7, 2015 08:09
Show Gist options
  • Save paveltretyakovru/af511001d114ee7608b6 to your computer and use it in GitHub Desktop.
Save paveltretyakovru/af511001d114ee7608b6 to your computer and use it in GitHub Desktop.
Normal CoffeeScript for loop
for i in [0...someCount]
doSomething()
# For in Obj at one line
for key , value of Obj then if key != Obj.length then console.log 'key', key , 'value',value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment