* 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
118 B
JavaScript
12 lines
118 B
JavaScript
class Foo {
|
|
static #bar = "foo";
|
|
|
|
static test() {
|
|
return Foo.#bar;
|
|
}
|
|
|
|
test() {
|
|
return Foo.#bar;
|
|
}
|
|
}
|