Debian Codegraph @

packages/babel-plugin-transform-modules-commonjs/test/fixtures/interop-loose/export-destructured/output.js

raw symbols SCIP
1 "use strict";
2
3 exports.__esModule = true;
4 exports.f1 = f1;
5 exports.f2 = f2;
6 exports.f3 = f3;
7 exports.f4 = f4;
8 exports.y = exports.x = void 0;
9 let x = 0;
10 exports.x = x;
11 let y = 0;
12 exports.y = y;
13 function f1() {
14 ({
15 x
16 } = {
17 x: 1
18 });
19 exports.x = x;
20 }
21 function f2() {
22 ({
23 x,
24 y
25 } = {
26 x: 2,
27 y: 3
28 });
29 exports.x = x, exports.y = y;
30 }
31 function f3() {
32 [x, y, z] = [3, 4, 5];
33 exports.x = x, exports.y = y;
34 }
35 function f4() {
36 [x,, y] = [3, 4, 5];
37 exports.x = x, exports.y = y;
38 }