mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-19 03:44:23 -05:00
trying out new arrows for function literals -> is a function, => is a bound function
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
func: =>
|
||||
func: ->
|
||||
a: 3
|
||||
b: []
|
||||
|
||||
@@ -9,7 +9,7 @@ func: =>
|
||||
c: {
|
||||
"text": b
|
||||
other: null
|
||||
something_else: (x) => x + 5
|
||||
something_else: (x) -> x + 5
|
||||
}
|
||||
|
||||
c: 'error' unless 42 > 41
|
||||
|
||||
Reference in New Issue
Block a user