Lee Byron (2015-02-19T23:16:52.000Z)
Hello all,

I’m working on a spec proposal that I’d like to present as a strawman (stage 0) for reverse iteration.

https://github.com/leebyron/ecmascript-reverse-iterator

The TL;DR is adding a new well known symbol `Symbol.reverseIterator` and adding methods to the collection prototypes that can be efficiently iterated in reverse. It also suggests adding `reverse()` to %IteratorPrototype% as an API sugar.

I’m looking for broad feedback as well as stakeholders if this functionality is important to you.

Thanks

Lee Byron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150219/99ade114/attachment-0001.html>
d at domenic.me (2015-03-03T21:15:11.108Z)
I’m working on a spec proposal that I’d like to present as a strawman (stage 0) for reverse iteration.

https://github.com/leebyron/ecmascript-reverse-iterator

The TL;DR is adding a new well known symbol `Symbol.reverseIterator` and adding methods to the collection prototypes that can be efficiently iterated in reverse. It also suggests adding `reverse()` to %IteratorPrototype% as an API sugar.

I’m looking for broad feedback as well as stakeholders if this functionality is important to you.