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:
@@ -12,7 +12,7 @@ print result is true and result2 is true
|
||||
|
||||
# Assign to conditional.
|
||||
|
||||
get_x: => 10
|
||||
get_x: -> 10
|
||||
|
||||
if x: get_x() then 100
|
||||
|
||||
|
||||
Reference in New Issue
Block a user