packages/babel-plugin-proposal-destructuring-private/test/fixtures/variable-declaration--es2015/object-rest-and-keys/output.js
raw| 1 | const _excluded = ["y"]; |
| 2 | let result; |
| 3 | class C {} |
| 4 | var _x = { |
| 5 | writable: true, |
| 6 | value: "#x" |
| 7 | }; |
| 8 | babelHelpers.defineProperty(C, "y", "y"); |
| 9 | babelHelpers.defineProperty(C, "a", "a"); |
| 10 | babelHelpers.defineProperty(C, "b", "b"); |
| 11 | babelHelpers.defineProperty(C, "c", "c"); |
| 12 | (() => { |
| 13 | var x = babelHelpers.classStaticPrivateFieldSpecGet(C, C, _x), |
| 14 | { |
| 15 | y |
| 16 | } = C, |
| 17 | z = babelHelpers.objectWithoutProperties(C, _excluded); |
| 18 | result = { |
| 19 | x, |
| 20 | y, |
| 21 | z |
| 22 | }; |
| 23 | })(); |