mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
8 lines
262 B
Markdown
8 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')
|
|
```
|