The HTMLCollection interface represents a generic collection (array-like object similar to arguments) of elements (in document order) and offers methods and properties for selecting from the list.
HTMLCollection
MDN Reference
Readonly
The HTMLCollection.length property returns the number of items in a HTMLCollection.
HTMLCollection.length
The HTMLCollection method item() returns the element located at the specified offset into the collection.
item()
The
HTMLCollectioninterface represents a generic collection (array-like object similar to arguments) of elements (in document order) and offers methods and properties for selecting from the list.MDN Reference