packages/babel-plugin-proposal-destructuring-private/test/fixtures/catch-param--es2015/no-shadowed-params/output.js
raw| 1 | var x; |
| 2 | var _x = /*#__PURE__*/new WeakMap(); |
| 3 | class C { |
| 4 | constructor() { |
| 5 | babelHelpers.classPrivateFieldInitSpec(this, _x, { |
| 6 | writable: true, |
| 7 | value: void 0 |
| 8 | }); |
| 9 | } |
| 10 | } |
| 11 | (() => { |
| 12 | x = "x"; |
| 13 | try { |
| 14 | throw new C(); |
| 15 | } catch (_e) { |
| 16 | let x = babelHelpers.classPrivateFieldGet(_e, _x); |
| 17 | } |
| 18 | })(); |