NodeList vs HTMLCollection: Understanding JavaScript DOM Collections
6d ago · 5 min read · You select elements from the DOM and log the result console.log(document.querySelectorAll("div")) The browser returns something called a NodeList. But if you run document.getElementsByClassName("co
Join discussion



