☰
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-proposal-pipeline-operator
/
test
/
fixtures
/
minimal
/
destructure-arrow-param
/
output.js
☽
☼
packages/babel-plugin-proposal-pipeline-operator/test/fixtures/minimal/destructure-arrow-param/output.js
code
plain
raw
symbols
SCIP
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
var
_ref, _y$z;
2
// Array destructing
3
const
result = (_ref = [
0
], (([x]) => x)(_ref));
4
expect
(result).
toBe
(
0
);
5
6
// Object destructuring
7
const
result2 = (_y$z = {
8
y
:
1
,
9
z
:
2
10
}, (({
11
y,
12
z
13
}) => y + z)(_y$z));
14
expect
(result).
toBe
(
3
);