This website requires JavaScript.
Explore
Help
Sign in
kotovalexarian-likes-github
/
jashkenas--coffeescript
Watch
1
Star
0
Fork
You've already forked jashkenas--coffeescript
0
mirror of
https://github.com/jashkenas/coffeescript.git
synced
2022-11-09 12:23:24 -05:00
Code
Releases
Activity
a8a46257ae
jashkenas--coffeescript
/
test
/
test_blocks.coffee
4 lines
92 B
CoffeeScript
Raw
Normal View
History
Unescape
Escape
trying out new arrows for function literals -> is a function, => is a bound function
2010-01-26 10:52:05 -05:00
results:
[
1
,
2
,
3
]
.
map
(x) ->
adding a block test and using PARAM_SPLAT to remove the last shift/reduce conflict
2010-01-03 10:46:37 -05:00
x
*
x
finished converting the test suite, to run it, do: bin/node_coffee -r tasks.coffee -- test
2010-02-16 19:45:25 -05:00
ok
results
.
join
(
'
'
)
is
'
1 4 9
'
,
'
basic block syntax
'
Copy permalink