NodeList vs HTMLCollection: What's the difference and how to use them
As a developer, you often need to query like elements using a class or an attribute as a selector. Luckily JavaScript has several methods built in such as getElementById(), getElementByClassName(), or querySelector(). Working with these methods you w...
trammellwebdev.hashnode.dev2 min read
trav
sr dev @ universal music, forker @ crablang
Thanks for this clarification! I know this has personally tripped me up a few times, especially working in TypeScript. It would be cool to see some use cases showing the advantages of each.