Created
April 29, 2015 14:06
-
-
Save nickcherry/caef7c92fae10342962b to your computer and use it in GitHub Desktop.
Implicit Returns
This file contains 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
attrs = { a: true, b: true, c: false, d: true, e: false } | |
_.each attrs, (val, key) => | |
console.log(key, val) | |
@[key] = val | |
# a true | |
# b true | |
# c false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment