DOMStringList
A type returned by some APIs which contains a list of DOMString (strings).
Properties
DOMStringList.length
Read only-
Returns the length of the list.
Methods
DOMStringList.item()
-
Returns a
DOMString
. DOMStringList.contains()
-
Returns a boolean value indicating if the given string is in the list
Specifications
Specification |
---|
HTML Standard # the-domstringlist-interface |
Browser compatibility
BCD tables only load in the browser