We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

跳转到:

DOMString 是一个UTF-16字符串。由于JavaScript已经使用了这样的字符串,所以DOMString 直接映射到 一个String

null传递给接受DOMString的方法或参数时通常会把其stringifies为“null”。

规范

Specification Status Comment
Web IDL
DOMString
Candidate Recommendation Rephrasing of the definition to remove weird edge cases.
Document Object Model (DOM) Level 3 Core Specification
DOMString
Obsolete No change from Document Object Model (DOM) Level 2 Core Specification
Document Object Model (DOM) Level 2 Core Specification
DOMString
Obsolete No change from Document Object Model (DOM) Level 1 Specification
Document Object Model (DOM) Level 1 Specification
DOMString
Obsolete Initial definition.

相关链接

文档标签和贡献者

标签: 
此页面的贡献者: zhenghuahou, xgqfrms-GitHub, AlexChao, ziyunfei
最后编辑者: zhenghuahou,