Hacker News new | ask | show | jobs
by subv3rsion 4283 days ago
An HTMLCollection in the HTML DOM is live; it is automatically updated when the underlying document is changed.
2 comments

A good example of a "dead collection" is the NodeList returned by `querySelectorAll` http://jsfiddle.net/4jyv99o6/14/
Using jQuery is a good example of comparing the behavior of HTMLCollection to a jQuery object http://jsfiddle.net/m3xzdg71/.