Readonly
countThis read-only property is the number of elements in the collection.
Gets an Iterator that can iterate over the items in the collection.
Typical usage is:
const it = anIterableCollection.iterator;
while (it.next()) {
const item = it.value;
}
This interface is implemented by the List, Set, and Map classes; it provides the iterator read-only property that returns an Iterator.
Typical usage is: