Debian Codegraph @

packages/babel-plugin-transform-classes/test/fixtures/spec/calling-super-properties/output.js

raw
1 var Test = /*#__PURE__*/function (_Foo) {
2 "use strict";
3
4 babelHelpers.inherits(Test, _Foo);
5 var _super = babelHelpers.createSuper(Test);
6 function Test() {
7 var _thisSuper, _thisSuper2, _this;
8 babelHelpers.classCallCheck(this, Test);
9 _this = _super.call(this);
10 babelHelpers.get((_thisSuper = babelHelpers.assertThisInitialized(_this), babelHelpers.getPrototypeOf(Test.prototype)), "test", _thisSuper).whatever();
11 babelHelpers.get((_thisSuper2 = babelHelpers.assertThisInitialized(_this), babelHelpers.getPrototypeOf(Test.prototype)), "test", _thisSuper2).call(_thisSuper2);
12 return _this;
13 }
14 babelHelpers.createClass(Test, null, [{
15 key: "test",
16 value: function test() {
17 return babelHelpers.get(babelHelpers.getPrototypeOf(Test), "wow", this).call(this);
18 }
19 }]);
20 return Test;
21 }(Foo);