Skip to content

Commit

Permalink
mo' expression examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jashkenas committed Jan 4, 2010
1 parent ecdb471 commit 32cd15f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions test/fixtures/generation/statements_as_expressions.coffee
Expand Up @@ -4,11 +4,13 @@ result: while sunny?
go_outside()

print(3 + try
nonexistent.no_way
catch error
print(error)
3
nonexistent.no_way
catch error
print(error)
3
)

func: x =>
return throw x
return throw x

print(x * x for x in [1..100])

0 comments on commit 32cd15f

Please sign in to comment.