Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

DOMString

DOMString 是編碼為 UTF-16 的字串。當 JavaScript 使用這類字串時, DOMString 會映射成一個 String.

傳送 null 給接受 DOMString 的 method 或參數時,會將其轉換成 "null"

Specifications

Specification Status Comment
Web IDL (Second Edition)
The definition of 'DOMString' in that specification.
Candidate Recommendation 修正定義文件用詞。並移除奇特的極端請況。
Document Object Model (DOM) Level 3 Core Specification
The definition of 'DOMString' in that specification.
Recommendation No change from Document Object Model (DOM) Level 2 Core Specification
Document Object Model (DOM) Level 2 Core Specification
The definition of 'DOMString' in that specification.
Recommendation No change from Document Object Model (DOM) Level 1 Specification
Document Object Model (DOM) Level 1 Specification
The definition of 'DOMString' in that specification.
Recommendation 初次定義 DOMString 。

延伸閱讀

文件標籤與貢獻者

 此頁面的貢獻者: Shiyou
 最近更新: Shiyou,