* Private Static Class Fields Implementation * Redo testing without class transform for static private * Add a call() test for private static * Use Object.defineProperty in loose mode
12 lines
110 B
JavaScript
12 lines
110 B
JavaScript
class Foo {
|
|
static #bar;
|
|
|
|
static test() {
|
|
return Foo.#bar;
|
|
}
|
|
|
|
test() {
|
|
return Foo.#bar;
|
|
}
|
|
}
|