Debian Codegraph @

packages/babel-helper-create-class-features-plugin/test/fixtures/field-reinitialization/private-accessor/input.js

raw
1 class Base {
2 constructor(obj) {
3 return obj;
4 }
5 }
6
7 class Derived extends Base {
8 get #foo() {
9 return 'bar';
10 }
11
12 set #foo(value) {
13 this.#foo = value;
14 }
15
16 static get(obj) {
17 return obj.#foo();
18 }
19 }