NodeList vs HTMLCollection: Understanding the Real Difference in the DOM
Apr 24 · 6 min read · Introduction At some point while learning the DOM, almost everyone runs into this confusion: querySelectorAll() returns one thing, and getElementsByClassName() returns another. But both look like list
Join discussion
























