NamedNodeMap.length (Property)

The number of members in the NamedNodeMap are returned by this property.


DOM level - 1
JavaScript - 1.5
JScript - 5.0
Internet Explorer - 5.0
Netscape - 6.0
Property/method value type:Number primitive
JavaScript syntax:-myNamedNodeMap.length

This is zero based length of the NamedNodeMap collection/array. It allows you to enumerate through the collection with a for(...) loop, visiting each node in turn.