Noble idea using iterators, but few complaints:
- There's already some long-established precedent in the objects themselves:
reduceRight
andlastIndexOf
. - It's much lower overhead during execution as the engine doesn't need to figure out if it can elide every single object allocation in that. (And that would be a very complicated process - they don't even elide the intermediate array of
array.filter(foo).map(bar)
currently.) - That's a...lot of typing just to do a reverse
find
when a normalfind
is extremely straightforward.