mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
22 lines
475 B
JavaScript
22 lines
475 B
JavaScript
class A {
|
|
#x;
|
|
[(() => class {})()];
|
|
[await (async () => await class {})()];
|
|
}
|
|
async function* f() {
|
|
class A {
|
|
#x;
|
|
[(() => class {})()];
|
|
[await (async () => await class {})()];
|
|
[yield* function* () {
|
|
return yield class {};
|
|
}.call(this, arguments)];
|
|
[yield* function* () {
|
|
return yield* class {};
|
|
}.call(this, arguments)];
|
|
[yield* async function* () {
|
|
return await (yield class {});
|
|
}.call(this, arguments)];
|
|
}
|
|
}
|