Debian Codegraph @

packages/babel-plugin-proposal-class-properties/test/fixtures/private/nested-class-computed/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: 1
10 });
11 }
12 babelHelpers.createClass(Foo, [{
13 key: "test",
14 value: function test() {
15 var Nested = /*#__PURE__*/function (_babelHelpers$classPr) {
16 function Nested() {
17 babelHelpers.classCallCheck(this, Nested);
18 }
19 babelHelpers.createClass(Nested, [{
20 key: _babelHelpers$classPr,
21 value: function () {}
22 }]);
23 return Nested;
24 }(babelHelpers.classPrivateFieldGet(this, _foo));
25 babelHelpers.classPrivateFieldGet(this, _foo);
26 }
27 }]);
28 return Foo;
29 }();