packages/babel-plugin-transform-classes/test/fixtures/loose-classCallCheck/with-superClass/output.js
raw| 1 | let B = function B() { |
| 2 | "use strict"; |
| 3 | }; |
| 4 | let A = /*#__PURE__*/function (_B) { |
| 5 | "use strict"; |
| 6 | |
| 7 | babelHelpers.inheritsLoose(A, _B); |
| 8 | function A(track) { |
| 9 | var _this; |
| 10 | if (track !== undefined) _this = _B.call(this, track) || this;else _this = _B.call(this) || this; |
| 11 | return babelHelpers.assertThisInitialized(_this); |
| 12 | } |
| 13 | return A; |
| 14 | }(B); |