Logan Smyth (2015-06-30T18:33:16.000Z)
d at domenic.me (2015-07-07T02:15:14.470Z)
The value set when `done: true` is set is not considered part of the iterated list, which is why you are seeing what you are seeing. The expected behavior is defined as `done: false` for all yielded values, and `done: true` when iteration has completed. That same behavior also applies for `for...of` loops for instance. For example, see [13.7.5.13](http://www.ecma-international.org/ecma-262/6.0/#sec-runtime-semantics-forin-div-ofbodyevaluation-lhs-stmt-iterator-lhskind-labelset) #5c, as soon as 'done' becomes 'true' the loop exits, the returned value is ignored. Also the same can also be seen in Array.from in [22.1.2.1](http://www.ecma-international.org/ecma-262/6.0/#sec-array.from) #6.g.iv