mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 11:31:20 -05:00
trying out new arrows for function literals -> is a function, => is a bound function
This commit is contained in:
2
test/fixtures/execution/test_switch.coffee
vendored
2
test/fixtures/execution/test_switch.coffee
vendored
@@ -16,7 +16,7 @@ result: switch num
|
||||
|
||||
print result
|
||||
|
||||
func: (num) =>
|
||||
func: (num) ->
|
||||
switch num
|
||||
when 2, 4, 6
|
||||
true
|
||||
|
||||
Reference in New Issue
Block a user