mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
16 lines
217 B
JavaScript
16 lines
217 B
JavaScript
class Foo {
|
|
static #bar;
|
|
|
|
static test() {
|
|
return Foo.#bar;
|
|
}
|
|
|
|
test() {
|
|
return Foo.#bar;
|
|
}
|
|
}
|
|
|
|
expect("bar" in Foo).toBe(false);
|
|
expect(Foo.test()).toBe(undefined);
|
|
expect(Foo.test()).toBe(undefined);
|