NodeList vs HTMLCollection: Understanding JavaScript DOM Collections
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
purakhnath-jyani.hashnode.dev5 min read