NodeList

A list-like collection of DOM nodes, returned by methods such as querySelectorAll.

In more detail

A NodeList from querySelectorAll is static, a fixed snapshot. It supports forEach and index access but is not a real array.

Related terms

Taught in

References