DOMStringList

A type returned by some APIs which contains a list of DOMString (strings).

Instance properties

DOMStringList.length Read only

Returns the length of the list.

Instance methods

DOMStringList.item()

Returns a string.

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