Debian Codegraph @

packages/babel-plugin-proposal-class-properties/test/fixtures/private/call/output.js

raw
1 var _foo = /*#__PURE__*/new WeakMap();
2 var Foo = /*#__PURE__*/function () {
3 "use strict";
4
5 function Foo() {
6 babelHelpers.classCallCheck(this, Foo);
7 babelHelpers.classPrivateFieldInitSpec(this, _foo, {
8 writable: true,
9 value: function () {
10 return this;
11 }
12 });
13 }
14 babelHelpers.createClass(Foo, [{
15 key: "test",
16 value: function test(other) {
17 var _other$obj;
18 babelHelpers.classPrivateFieldGet(this, _foo).call(this);
19 babelHelpers.classPrivateFieldGet(_other$obj = other.obj, _foo).call(_other$obj);
20 }
21 }]);
22 return Foo;
23 }();