Reputation: 1940
The =>
in CoffeeScript or ES6 is often useful for binding this
to a function, especially in callbacks. I can't seem to find an alternative in LiveScript. Does it exist?
Upvotes: 2
Views: 152
Reputation: 1940
It's ~>
.
Answer courtesy of _rgn
on the #livescript
channel on freenode.
Upvotes: 3