DOMStringList

已废弃: This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

某些API会返回的包含一列DOMString的一种类型

Properties

DOMStringList.length 只读
返回列表的长度,

Methods

DOMStringList.item()
返回一个 DOMString.
DOMStringList.contains()
返回Boolean 类型的标示来表明此类型是否包含某字符串。

Specifications