Glossary: JavaScript in the Browser
NodeList
The list of nodes returned by querySelectorAll. It has length and forEach but no map or filter, so spread it into an array first.
Glossary: JavaScript in the Browser
The list of nodes returned by querySelectorAll. It has length and forEach but no map or filter, so spread it into an array first.