Debian Codegraph @

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

raw
1 var _bar = /*#__PURE__*/new WeakMap();
2 class Foo {
3 constructor() {
4 babelHelpers.classPrivateFieldInitSpec(this, _bar, {
5 writable: true,
6 value: "bar"
7 });
8 }
9 static test() {
10 return babelHelpers.classStaticPrivateFieldSpecGet(Foo, Foo, _foo);
11 }
12 test() {
13 return babelHelpers.classPrivateFieldGet(this, _bar);
14 }
15 }
16 var _foo = {
17 writable: true,
18 value: "foo"
19 };