Debian Codegraph @

packages/babel-plugin-proposal-private-methods/test/fixtures/duplicated-names/method-set/input.js

raw
1 class Cl {
2 #privateField = 0;
3
4 #foo() {
5 return 'foo';
6 }
7
8 set #foo(newValue) {
9 this.#privateField = newValue;
10 }
11 }