Debian Codegraph @

packages/babel-plugin-proposal-class-properties/test/fixtures/regression/6154/output.js

raw
1 var Test = /*#__PURE__*/babelHelpers.createClass(function Test() {
2 "use strict";
3
4 babelHelpers.classCallCheck(this, Test);
5 var Other = /*#__PURE__*/function (_Test) {
6 babelHelpers.inherits(Other, _Test);
7 var _super = babelHelpers.createSuper(Other);
8 function Other() {
9 var _thisSuper, _this;
10 babelHelpers.classCallCheck(this, Other);
11 for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
12 args[_key] = arguments[_key];
13 }
14 _this = _super.call.apply(_super, [this].concat(args));
15 babelHelpers.defineProperty(babelHelpers.assertThisInitialized(_this), "a", function () {
16 return babelHelpers.get((_thisSuper = babelHelpers.assertThisInitialized(_this), babelHelpers.getPrototypeOf(Other.prototype)), "test", _thisSuper);
17 });
18 return _this;
19 }
20 return babelHelpers.createClass(Other);
21 }(Test);
22 babelHelpers.defineProperty(Other, "a", function () {
23 return babelHelpers.get(babelHelpers.getPrototypeOf(Other), "test", Other);
24 });
25 });