for-of loops, IteratorClose and the rest of the iterations in the spec

Andreas Rossberg rossberg at
Wed Sep 10 07:54:38 PDT 2014

On 10 September 2014 16:52, Mark S. Miller <erights at> wrote:
> On Wed, Sep 10, 2014 at 7:45 AM, Erik Arvidsson <erik.arvidsson at>
> wrote:
>> I see two options here.
>> 1. Add IteratorClose to all places in the spec where we use iterators.
> Why was #1 rejected? I just don't remember.

I don't remember either, but one counter argument will be that it
could be a performance hit. But if we are not willing to take this hit
in our "own" functions then we should better not have this feature at


More information about the es-discuss mailing list