Files
babel/packages/babel-plugin-transform-es2015-classes/test/fixtures/loose/calling-super-properties/expected.js

22 lines
337 B
JavaScript

var Test = function (_Foo) {
babelHelpers.inheritsLoose(Test, _Foo);
function Test() {
var _this;
_this = _Foo.call(this) || this;
_Foo.prototype.test.whatever();
_Foo.prototype.test.call(_this);
return _this;
}
Test.test = function test() {
return _Foo.wow.call(this);
};
return Test;
}(Foo);