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