blob: df1f24d0944c58be5956f13b7d35cc89bcee5a11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// |jit-test| error: TypeError
load(libdir + "iteration.js");
function iterable() {
var iterable = {};
iterable[Symbol.iterator] = () => ({next: () => void 0});
return iterable;
}
(function*(){yield*iterable()}()).next();
|