aboutsummaryrefslogtreecommitdiffstats
path: root/tools/node_modules/expresso/deps/jscoverage/tests/javascript/javascript-try.js
blob: 47a5de40ce31ec3055b681c63419e38b8fcc0156 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
function f() {}

try {
  f();
}
catch (e) {
  f();
}

try {
  f();
}
catch (e if e instanceof E) {
  f();
}

try {
  f();
}
finally {
  f();
}

try {
  f();
}
catch (e) {
  f();
}
finally {
  f();
}