packages/babel-plugin-transform-classes/test/fixtures/loose/calling-super-properties/output.js
raw symbols SCIP| 1 | var Test = /*#__PURE__*/function (_Foo) { |
| 2 | "use strict"; |
| 3 | |
| 4 | babelHelpers.inheritsLoose(Test, _Foo); |
| 5 | function Test() { |
| 6 | var _this; |
| 7 | _this = _Foo.call(this) || this; |
| 8 | _Foo.prototype.test.whatever(); |
| 9 | _Foo.prototype.test.call(babelHelpers.assertThisInitialized(_this)); |
| 10 | return _this; |
| 11 | } |
| 12 | Test.test = function test() { |
| 13 | return _Foo.wow.call(this); |
| 14 | }; |
| 15 | return Test; |
| 16 | }(Foo); |