mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-11 17:37:33 +02:00
Created these while experimenting with LibJS. Might as well bring them into the tree and increase our coverage.
12 lines
113 B
JavaScript
12 lines
113 B
JavaScript
let obj = {
|
|
async *foo() {
|
|
yield 1;
|
|
},
|
|
};
|
|
|
|
class C {
|
|
async *bar() {
|
|
yield 2;
|
|
}
|
|
}
|