http://people.mozilla.org/~jorendorff/es6-draft.html#sec-%arrayiteratorprototype%-@@iterator seems like something that would be useful on all iterators. In particular, http://people.mozilla.org/~jorendorff/es6-draft.html#sec-%mapiteratorprototype%-@@iterator looks identical, as does http://people.mozilla.org/~jorendorff/es6-draft.html#sec-%setiteratorprototype%-@@iterator as do methods we're having to add to Web IDL iterators.

It seems like it would be simpler to just put this on %IteratorPrototype% so all iterators pick it up automatically.

-Boris
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to