Debian Codegraph @

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

raw
1 class Foo {
2 static #bar = "foo";
3
4 static test() {
5 return Foo.#bar;
6 }
7
8 test() {
9 return Foo.#bar;
10 }
11 }
12
13 expect("bar" in Foo).toBe(false)
14 expect(Foo.test()).toBe("foo")
15 expect(Foo.test()).toBe("foo")