* 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
17 lines
160 B
JavaScript
17 lines
160 B
JavaScript
class Foo {
|
|
a = 1;
|
|
|
|
*#a() {
|
|
yield bar();
|
|
}
|
|
|
|
#b = 2;
|
|
|
|
get b() { return 9999; }
|
|
set #c(x) { return x; }
|
|
|
|
#d() {
|
|
return Math.random();
|
|
}
|
|
}
|