Source code

Revision control

Copy as Markdown

Other Tools

// |jit-test| error: TypeError
load(libdir + "iteration.js");
function iterable() {
var iterable = {};
iterable[Symbol.iterator] = () => ({next: () => void 0});
return iterable;
}
(function*(){yield*iterable()}()).next();