Debian Codegraph @

packages/babel-plugin-proposal-class-properties/test/fixtures/private/reevaluated/input.js

raw
1 function classFactory() {
2 return class Foo {
3 #foo = "foo";
4 static #bar = "bar";
5
6 instance() {
7 return this.#foo;
8 }
9
10 static() {
11 return Foo.#bar;
12 }
13
14 static instance(inst) {
15 return inst.#foo;
16 }
17
18 static static() {
19 return Foo.#bar;
20 }
21 };
22 }