packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/declaration-order/output.js
raw symbols SCIP| 1 | var _x = /*#__PURE__*/babelHelpers.classPrivateFieldLooseKey("x"); |
| 2 | var C = /*#__PURE__*/babelHelpers.createClass(function C() { |
| 3 | "use strict"; |
| 4 | |
| 5 | babelHelpers.classCallCheck(this, C); |
| 6 | this.y = babelHelpers.classPrivateFieldLooseBase(this, _x)[_x]; |
| 7 | Object.defineProperty(this, _x, { |
| 8 | writable: true, |
| 9 | value: void 0 |
| 10 | }); |
| 11 | }); |
| 12 | expect(() => { |
| 13 | new C(); |
| 14 | }).toThrow(); |