Debian Codegraph @

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

raw symbols SCIP
1 var _foo = /*#__PURE__*/babelHelpers.classPrivateFieldLooseKey("foo");
2 var Foo = /*#__PURE__*/function () {
3 "use strict";
4
5 function Foo() {
6 babelHelpers.classCallCheck(this, Foo);
7 Object.defineProperty(this, _foo, {
8 writable: true,
9 value: 0
10 });
11 }
12 babelHelpers.createClass(Foo, [{
13 key: "test",
14 value: function test(other) {
15 babelHelpers.classPrivateFieldLooseBase(this, _foo)[_foo] += 1;
16 babelHelpers.classPrivateFieldLooseBase(this, _foo)[_foo] = 2;
17 babelHelpers.classPrivateFieldLooseBase(other.obj, _foo)[_foo] += 1;
18 babelHelpers.classPrivateFieldLooseBase(other.obj, _foo)[_foo] = 2;
19 }
20 }]);
21 return Foo;
22 }();