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
55df898112
jashkenas--coffeescript
/
test
/
fixtures
/
execution
/
test_blocks.coffee
4 lines
73 B
CoffeeScript
Raw
Normal View
History
Unescape
Escape
tests passing with smarter block syntax with optional parens
2010-01-26 07:15:08 +00: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 15:46:37 +00:00
x
*
x
converted the tests to use optional parentheses -- lot's of little subtleties to work out
2010-01-25 04:40:45 +00:00
print
results
.
join
(
'
'
)
is
'
1 4 9
'