packages/babel-plugin-proposal-destructuring-private/test/fixtures/for-of--es2015/variable-declaration-block-scoped/output.js
raw| 1 | class C {} |
| 2 | babelHelpers.defineProperty(C, "a", "a"); |
| 3 | var _x = { |
| 4 | writable: true, |
| 5 | value: void 0 |
| 6 | }; |
| 7 | (() => { |
| 8 | const a = "a"; |
| 9 | for (const _ref of [C]) { |
| 10 | const x = babelHelpers.classStaticPrivateFieldSpecGet(_ref, C, _x), |
| 11 | { |
| 12 | [a]: _ |
| 13 | } = _ref; |
| 14 | { |
| 15 | const a = "A"; |
| 16 | } |
| 17 | } |
| 18 | })(); |