packages/babel-plugin-proposal-destructuring-private/test/fixtures/variable-declaration--es2015/array-rest-only/output.js
raw| 1 | const _excluded = ["0"]; |
| 2 | let result; |
| 3 | class C {} |
| 4 | var _x = { |
| 5 | writable: true, |
| 6 | value: void 0 |
| 7 | }; |
| 8 | (() => { |
| 9 | var [..._p] = [C], |
| 10 | _m = babelHelpers.classStaticPrivateFieldSpecGet(_p[0], C, _x), |
| 11 | x = _m === void 0 ? 1 : _m, |
| 12 | z = babelHelpers.objectWithoutProperties(_p, _excluded); |
| 13 | result = { |
| 14 | x, |
| 15 | z |
| 16 | }; |
| 17 | })(); |