Debian Codegraph @

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

raw
1 class Foo {
2 static #bar;
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(undefined);
15 expect(Foo.test()).toBe(undefined);