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 Boolean indicating if the given string is in the list

Specifications

Specification Status Comment
HTML Living Standard
The definition of 'DOMStringList' in that specification.
Living Standard Initial specification

Browser compatibility

BCD tables only load in the browser