Created these while experimenting with LibJS. Might as well bring them into the tree and increase our coverage.
6 lines
127 B
JavaScript
6 lines
127 B
JavaScript
// Test that yield await x in an async generator produces correct bytecode.
|
|
|
|
async function* f(x) {
|
|
yield await x;
|
|
}
|
|
f(1);
|