Incompatibility between generators and arrays in the Iterator protocol
allen at wirfs-brock.com
Tue Jun 30 18:45:14 UTC 2015
On Jun 30, 2015, at 11:13 AM, Tim Jansen wrote:
> Is this incompatibility intentional, or or just an implementation issue in the browsers (tested on FF38 and Chrome 43)? I wasn't able to find any information on this. The ES6 draft from April '15 doesn't define when exactly 'done' is set.
sure it does:
http://ecma-international.org/ecma-262/6.0/#sec-%arrayiteratorprototype%.next step 10.b
http://ecma-international.org/ecma-262/6.0/#sec-generatorstart step 4:8
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss