comparison: js/src/jit-test/tests/generators/bug931414.js
js/src/jit-test/tests/generators/bug931414.js
- changeset 0
- 6474c204b198
equal
deleted
inserted
replaced
|
1 // |jit-test| error: is undefined |
|
2 |
|
3 load(libdir + "iteration.js"); |
|
4 |
|
5 function iterable() { |
|
6 var iterable = {}; |
|
7 iterable[std_iterator] = () => ({next: () => void 0}); |
|
8 return iterable; |
|
9 } |
|
10 |
|
11 (function*(){yield*iterable()}()).next(); |