☰
Debian Codegraph
@
8.0.6+ds1+~cs177.303.116-1
8.0.4+ds1+~cs177.303.116-3
7.20.15+ds1+~cs214.269.168-17
/
/
packages
/
babel-plugin-transform-modules-commonjs
/
test
/
fixtures
/
interop
/
export-destructured
/
input.mjs
☽
☼
packages/babel-plugin-transform-modules-commonjs/test/fixtures/interop/export-destructured/input.mjs
code
plain
raw
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
export let x = 0;
2
export let y = 0;
3
4
export function f1 () {
5
({x} = { x: 1 });
6
}
7
8
export function f2 () {
9
({x, y} = { x: 2, y: 3 });
10
}
11
12
export function f3 () {
13
[x, y, z] = [3, 4, 5]
14
}
15
16
export function f4 () {
17
[x, , y] = [3, 4, 5]
18
}