HTMLOptionsCollection: length property

The length property of the HTMLOptionsCollection interface returns the number of elements in the collection. The property can get or set the size of the collection.

When setting length to a value smaller than the current, the options collection gets truncated; otherwise, new blank elements are appended to the end of the