thejsway / thejsway

The JavaScript Way book

Home Page:https://thejsway.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

You can use the forEach() on NodeList

daggala opened this issue · comments

https://developer.mozilla.org/en-US/docs/Web/API/NodeList
"Although NodeList is not an Array, it is possible to iterate on it using forEach(). Several older browsers have not implemented this method yet."

Thanks for this precision.