Debian Codegraph @

packages/babel-plugin-proposal-pipeline-operator/test/fixtures/minimal/destructure-arrow-param/output.js

raw symbols SCIP
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);