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_blocks.coffee
vendored
2
test/fixtures/execution/test_blocks.coffee
vendored
@@ -1,4 +1,4 @@
|
||||
results: [1, 2, 3].map (x) =>
|
||||
results: [1, 2, 3].map (x) ->
|
||||
x * x
|
||||
|
||||
print results.join(' ') is '1 4 9'
|
||||
Reference in New Issue
Block a user