You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HTMLCollection is an historical artifact we cannot rid the web of. Please do not use it in new APIs.
Please tell us what does this mean in fact.
Does it mean we should not use .getElementsByTagName(), .getElementsByClassName(), .children,
because they all give HTMLCollection back, if yes please show us a way of how to, or what to use instead.
The text was updated successfully, but these errors were encountered:
https://dom.spec.whatwg.org/#interface-htmlcollection
Please tell us what does this mean in fact.
Does it mean we should not use .getElementsByTagName(), .getElementsByClassName(), .children,
because they all give HTMLCollection back, if yes please show us a way of how to, or what to use instead.
The text was updated successfully, but these errors were encountered: