Debian Codegraph @

packages/babel-plugin-proposal-do-expressions/test/fixtures/do-expression-switch-case/declaration-before-break/output.js

raw
1 const x = n => function () {
2 switch (n) {
3 case 0:
4 case 6:
5 const b = 1;
6 return void 0;
7 case 1:
8 {
9 "a";
10 {
11 const c = 1;
12 {
13 return void 0;
14 }
15 }
16 }
17 case 2:
18 case 3:
19 {
20 "b";
21 if (n === 2) {
22 const c = 1;
23 } else {
24 return "c";
25 }
26 {
27 return void 0;
28 }
29 }
30 default:
31 return "bar";
32 }
33 }();