packages/babel-plugin-proposal-class-properties/test/fixtures/private/super-statement/output.js
raw| 1 | var _bar = /*#__PURE__*/new WeakMap(); |
| 2 | var Foo = /*#__PURE__*/function (_Bar) { |
| 3 | "use strict"; |
| 4 | |
| 5 | babelHelpers.inherits(Foo, _Bar); |
| 6 | var _super = babelHelpers.createSuper(Foo); |
| 7 | function Foo() { |
| 8 | var _this; |
| 9 | babelHelpers.classCallCheck(this, Foo); |
| 10 | _this = _super.call(this); |
| 11 | babelHelpers.classPrivateFieldInitSpec(babelHelpers.assertThisInitialized(_this), _bar, { |
| 12 | writable: true, |
| 13 | value: "foo" |
| 14 | }); |
| 15 | return _this; |
| 16 | } |
| 17 | return babelHelpers.createClass(Foo); |
| 18 | }(Bar); |