forEach on querySelectorAll not working in recent Microsoft browsers

Most DOM methods and collection properties aren’t actually arrays, they’re collections: querySelectorAll returns a static NodeList (a snapshot of matching elements as of when you call it). getElementsByTagName, getElementsByTagNameNS, getElementsByClassName, and the children property on a ParentNode (Elements are parent nodes) return live HTMLCollection instances (if you change the DOM, that change is reflected live … Read more