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

You would also have to define the behavior. But if we wanted people to use these APIs we should also add constructors and modernize them a bit. It's just not clear to me they have the use that warrants such an investment. If you compare `[javascript] NodeIterator` and `[javascript] querySelector` on Stack Overflow the difference is quite stark. (There's also other drawbacks such as them executing script while traversing, making for expensive boundary hopping.)

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

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

Received on Wednesday, 20 September 2023 07:27:15 UTC