Files
coffeescript/test/fixtures/generation/statements_as_expressions.coffee
2010-01-29 23:30:54 -05:00

16 lines
214 B
CoffeeScript

# Everything should be able to be an expression.
result: while sunny?
go_outside()
puts(3 + try
nonexistent.no_way
catch error
puts(error)
3
)
func: (x) ->
return throw x
puts(x * x for x in [1..100])