* feat: materialize class features * chore: move testcases to es2022 * chore: update test fixtures * chore: remove classPr\w+ from options.json * chore: remove empty options.json * update flow test allowlist * update typescript allowlist
15 lines
220 B
JavaScript
15 lines
220 B
JavaScript
class Foo {
|
|
static #x = 1;
|
|
static #m = function() {};
|
|
|
|
static test() {
|
|
const o = { Foo: Foo };
|
|
return [
|
|
o?.Foo.#x,
|
|
o?.Foo.#x.toFixed,
|
|
o?.Foo.#x.toFixed(2),
|
|
o?.Foo.#m(),
|
|
];
|
|
}
|
|
}
|