packages/babel-plugin-proposal-destructuring-private/test/fixtures/assignment/object-rest/output.js
raw| 1 | let result; |
| 2 | class C { |
| 3 | static #x = "#x"; |
| 4 | static #y = "#y"; |
| 5 | static a = "a"; |
| 6 | static b = "b"; |
| 7 | static c = "c"; |
| 8 | static { |
| 9 | var _m, _m2; |
| 10 | var a, b, x, y, z; |
| 11 | ({ |
| 12 | [_m = C.a]: a |
| 13 | } = C), x = C.#x, ({ |
| 14 | [_m2 = C.b]: b |
| 15 | } = C), y = C.#y, z = babelHelpers.objectWithoutProperties(C, [_m, _m2].map(babelHelpers.toPropertyKey)); |
| 16 | result = { |
| 17 | a, |
| 18 | b, |
| 19 | x, |
| 20 | y, |
| 21 | z |
| 22 | }; |
| 23 | } |
| 24 | } |