Comment on A Dive Into Plain JavaScriptparentComments−Dunnorandom12yYou could also just convert the NodeList to an array by running something like [].slice.call(nodeList) That way you get all array methods, not just forEach.
Comments
You could also just convert the NodeList to an array by running something like
That way you get all array methods, not just forEach.