Re:JS 2 CoffeeScript Compiler
by fooyc on Wednesday September 14, 2011 @03:40PM
(#2997564)
An other good example is constructors; say you have a function like this:
In Coffeescript this translates to
`x` is returned; and if you return something from a constructor, something is returned instead of the constructed object (`new MyClass({})` returns `{}`).
[ Parent
| on HN ]
There are no comments on this comment yet.