* 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
11 lines
258 B
JavaScript
11 lines
258 B
JavaScript
class X {
|
|
static a = new.target;
|
|
static b = (foo = 1 + bar(new.target));
|
|
static c = () => new.target;
|
|
static d = (foo = new.target) => {};
|
|
e = new.target;
|
|
f = (foo = 1 + bar(new.target));
|
|
g = () => new.target;
|
|
h = (foo = new.target) => {};
|
|
}
|