- From: nightpool <notifications@github.com>
- Date: Wed, 21 Aug 2024 10:03:38 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 21 August 2024 17:03:42 UTC
I ran into this today, it would be really nice to just be able to do ```javascript for (textNode of document.createTreeWalker(root, NodeFilter.SHOW_TEXT)) { /* do something with text nodes */ } ``` without having to think about while loops, next nodes, iterators, generators, etc -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/147#issuecomment-2302566006 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/147/2302566006@github.com>
Received on Wednesday, 21 August 2024 17:03:42 UTC