Debian Codegraph @

packages/babel-plugin-proposal-class-properties/test/fixtures/private/derived-multiple-supers/output.js

raw symbols SCIP
1 var _bar = /*#__PURE__*/new WeakMap();
2 var Foo = /*#__PURE__*/function (_Bar) {
3 "use strict";
4
5 babelHelpers.inherits(Foo, _Bar);
6 var _super = babelHelpers.createSuper(Foo);
7 function Foo() {
8 var _this;
9 babelHelpers.classCallCheck(this, Foo);
10 if (condition) {
11 _this = _super.call(this);
12 babelHelpers.classPrivateFieldInitSpec(babelHelpers.assertThisInitialized(_this), _bar, {
13 writable: true,
14 value: "foo"
15 });
16 } else {
17 _this = _super.call(this);
18 babelHelpers.classPrivateFieldInitSpec(babelHelpers.assertThisInitialized(_this), _bar, {
19 writable: true,
20 value: "foo"
21 });
22 }
23 return babelHelpers.possibleConstructorReturn(_this);
24 }
25 return babelHelpers.createClass(Foo);
26 }(Bar);