* fix: allow await within SCOPE_FUNCTION under static block * perf: scan scopeStack for once * add new test case * chore: update allowlist
8 lines
199 B
JavaScript
8 lines
199 B
JavaScript
var C;
|
|
// await is not allowed in async arrow
|
|
C = class { static { async (await) => {} } };
|
|
|
|
C = class { static { async (x = await) => {} } };
|
|
|
|
C = class { static { async ({ [await]: x }) => {} } };
|