DEV Community

Discussion on: Using A NodeList as an Array: A Practical Use for Object Composition

Collapse
 
bcallaars profile image
Joseph Callaars • Edited

I like this solution. Only very recently I came across this problem myself as well (I mainly only do back end), and I solved it through [].forEach.call(NodeListHere, function () {}) as I didn't want to change original object.