On Sun, Mar 3, 2013 at 12:45 PM, David Bruant <[email protected]> wrote:

>         [2, 8, 7].forEach(function(e){
>             if(e === 8)
>                 throw StopIteration;


This would be taking a piece of one low-level protocol, and using it for a
sorta-kinda related thing that actually, on closer inspection, has nothing
to do with that protocol. Array.prototype.forEach doesn't even use
iterators.

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

Reply via email to