files/en-us/web/api/namednodemap/index.md
{{APIRef("DOM")}}
The NamedNodeMap interface represents a collection of {{domxref("Attr")}} objects. Objects inside a NamedNodeMap are not in any particular order, unlike {{domxref("NodeList")}}, although they may be accessed by an index as in an array.
A NamedNodeMap object is live and will thus be auto-updated if changes are made to its contents internally or elsewhere.
[!NOTE] Although called
NamedNodeMap, this interface doesn't deal with {{domxref("Node")}} objects but with {{domxref("Attr")}} objects, which are a specialized class of {{domxref("Node")}} objects.
This interface doesn't inherit any property.
This interface doesn't inherit any method.
null if the index is higher or equal to the number of nodes.{{Specifications}}
{{Compat}}