mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-04-11 03:00:13 -04:00
trying out new arrows for function literals -> is a function, => is a bound function
This commit is contained in:
@@ -13,6 +13,6 @@ print 50 > 10 > 5 is parseInt('5', 10)
|
||||
# more than once.
|
||||
|
||||
i: 0
|
||||
func: => i++
|
||||
func: -> i++
|
||||
|
||||
print 1 > func() < 1
|
||||
|
||||
Reference in New Issue
Block a user