Debian Codegraph @

packages/babel-plugin-proposal-class-properties/test/fixtures/private/static-shadow/exec.js

raw
1 class Test {
2
3 static #x = 1
4
5 static method() {
6 const Test = 2;
7 const func = () => {
8 const Test = 3;
9 return this.#x + Test;
10 }
11 return func() + Test;
12 }
13 }
14
15 expect(Test.method()).toBe(6)