Re: [whatwg/dom] Consider support for ES2015 iterator protocol for NodeIterator (#147)

I mean the alternative is to just write the iteration code yourself, right? That'll likely be faster due to the lack of boundary-crossing, and it'll be easier to read and understand without someone having to go look up this esoteric API. I think the first step here would be demonstrating why it's so bad to write loops in JavaScript.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/147#issuecomment-1727298662
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/147/1727298662@github.com>

Received on Wednesday, 20 September 2023 09:09:46 UTC