It runs successfully in Chrome returning:
foo {<suspended>}
That's the craziest statement I've ever seen! foo {<suspended>}
That's the craziest statement I've ever seen!Try calling next() on the return value of foo.
I get:
Promise {<rejected>: TypeError: Class extends value async function () {} is not a constructor or null
at foo