Debian Codegraph @

js/src/tests/test262/language/statements/try/optional-catch-binding-finally.js

raw
1 // Copyright (C) 2017 Lucas Azzola. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 author: Lucas Azzola
6 esid: pending
7 description: try/catch/finally syntax with omission of the catch binding
8 features: [optional-catch-binding]
9 info: |
10 Optional Catch Binding
11
12 Catch[Yield, Await, Return]:
13 (...)
14 catch Block[?Yield, ?Await, ?Return]
15 ---*/
16
17 try {} catch {} finally {}
18
19 reportCompare(0, 0);