Re: [whatwg/dom] Suggestion: new method - getNodesByType (#992)

@liamquin I completely agree.  I am falling in on conventions already in place by the standard and node types are returned as numbers 1-12.  This example code does accept a string of the node type name if you would rather execute something like `document.getNodesByType("COMMENT_NODE")`

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

Received on Monday, 21 June 2021 22:39:45 UTC