Created
May 15, 2014 13:57
-
-
Save Frost/a24c4ca4955ec46cbe3c to your computer and use it in GitHub Desktop.
Livescript scope assignment gotcha
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
| foo = {foo: \foo} | |
| bar = -> | |
| console.log foo | |
| foo ?= {bar: \bar} | |
| return foo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment