mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
19 lines
265 B
JavaScript
19 lines
265 B
JavaScript
const f = class Foo {
|
|
static #bar() {
|
|
return Foo;
|
|
}
|
|
|
|
static #method() {
|
|
return function inner() {
|
|
return Foo;
|
|
};
|
|
}
|
|
static #method_shadowed() {
|
|
new Foo();
|
|
return function inner() {
|
|
let Foo = 3;
|
|
return Foo;
|
|
}
|
|
}
|
|
}
|