Debian Codegraph @

packages/babel-plugin-proposal-optional-catch-binding/test/fixtures/optional-catch-bindings/exec.js

raw symbols SCIP
1 const test = () => {
2 try {
3 throw 0;
4 }
5 catch {
6 return true;
7 }
8 }
9 expect(test()).toBe(true);
10
11 const test2 = () => {
12 try {
13 throw 0;
14 }
15 catch (err) {
16 return true;
17 }
18 }
19 expect(test2()).toBe(true);