Re:The Problem with Implicit Scoping in CoffeeScript
by showell30 on Thursday December 22, 2011 @03:25PM
(#3383101)
Your example does demonstrate how CS works. When you assign bar a new value inside its original scope, the value of bar does indeed change.
Here is a slightly less contrived example:
Here is the output:
[ Parent
| on HN ]
There are no comments on this comment yet.