Re: [whatwg/dom] Add forEach to HTMLCollection interface (#757)

@domenic If I already have a class name stored in a variable, using `getElementsByClassName` seems like the most expressive choice. I agree that `querySelector` would work but it seems unfortunate to encourage building a selector string which will be parsed back into a class name moments later.

-- 
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/757#issuecomment-490099031

Received on Tuesday, 7 May 2019 14:17:39 UTC