DOMStringList
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
某些 API 会返回的包含一列DOMString的一种类型
Properties
DOMStringList.length
只读-
返回列表的长度,
Methods
DOMStringList.item()
-
返回一个
DOMString
. DOMStringList.contains()
-
返回
Boolean
类型的标示来表明此类型是否包含某字符串。