| 1 |
const f = class Foo { |
| 2 |
static #bar() { |
| 3 |
return Foo; |
| 4 |
} |
| 5 |
|
| 6 |
static #method() { |
| 7 |
return function inner() { |
| 8 |
return Foo; |
| 9 |
}; |
| 10 |
} |
| 11 |
static #method_shadowed() { |
| 12 |
new Foo(); |
| 13 |
return function inner() { |
| 14 |
let Foo = 3; |
| 15 |
return Foo; |
| 16 |
} |
| 17 |
} |
| 18 |
} |