2

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?

Chris Fritz
  • 1,922
  • 1
  • 19
  • 23

1 Answers1

3

It's ~>.

Answer courtesy of _rgn on the #livescript channel on freenode.

Chris Fritz
  • 1,922
  • 1
  • 19
  • 23