Y
Hacker News
new
|
ask
|
show
|
jobs
by
Dunnorandom
4531 days ago
You 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.