packages/babel-plugin-transform-classes/test/fixtures/spec/this-not-allowed-before-super-in-derived-classes/output.js
raw| 1 | var Foo = /*#__PURE__*/function (_Bar) { |
| 2 | "use strict"; |
| 3 | |
| 4 | babelHelpers.inherits(Foo, _Bar); |
| 5 | var _super = babelHelpers.createSuper(Foo); |
| 6 | function Foo() { |
| 7 | var _this; |
| 8 | babelHelpers.classCallCheck(this, Foo); |
| 9 | _this.foo = "bar"; |
| 10 | return _this = _super.call(this); |
| 11 | } |
| 12 | return babelHelpers.createClass(Foo); |
| 13 | }(Bar); |