blob: 40509d990d71295365cef057978f5c9bacbb25a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
async function* f() {
return "success";
}
var AsyncGenerator = (async function*(){}).constructor;
assertEq(f instanceof AsyncGenerator, true);
f().next().then(v => {
reportCompare("success", v.value);
});
|