DOMStringList

Um tipo retornado por algumas APIs, que contém uma lista de DOMString (strings).

Propriedades

DOMStringList.length (en-US) Somente leitura

Retorna o número de itens da lista

Métodos

DOMStringList.item() (en-US)

Retorna uma DOMString.

DOMStringList.contains() (en-US)

Retorna Boolean indicando se a string em questão está na lista

Especificações

Specification
HTML Standard
# the-domstringlist-interface

Compatibilidade com navegadores

BCD tables only load in the browser