The item of NodeList for JS returns the node with index index from the collection. The nodes are sorted in tree order.
node = collection.item(index) node = collection[index]
The number of preceding siblings, or 0 if it has none.
length
Web Hypertext Application Technology Working Group (WHATWG)