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
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to