This website requires JavaScript.
Explore
Help
Sign In
kotovalexarian-likes-github
/
jashkenas--coffeescript
mirror of
https://github.com/jashkenas/coffeescript.git
Watch
1
Star
0
Fork
You've already forked jashkenas--coffeescript
0
Code
Releases
Activity
b41afe79b4
jashkenas--coffeescript
/
test
/
test_blocks.coffee
4 lines
72 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
node conversion finished, narwhal removed.
2010-01-29 23:30:54 -05:00
puts
results
.
join
(
'
'
)
is
'
1 4 9
'