mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
7 lines
262 B
Markdown
7 lines
262 B
Markdown
## Try/Catch/Finally
|
|
|
|
Try-expressions have the same semantics as try-statements in JavaScript, though in CoffeeScript, you may omit _both_ the catch and finally parts. The catch part may also omit the error parameter if it is not needed.
|
|
|
|
```
|
|
codeFor('try')
|
|
```
|