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

Our volunteers haven't translated this article into Română yet. Join us and help get the job done!

DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.

Passing null to a method or parameter accepting a DOMString typically stringifies to "null".

Specifications

Specification Status Comment
Web IDL (Second Edition)
The definition of 'DOMString' in that specification.
Candidate Recommendation Rephrasing of the definition to remove weird edge cases.
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 Initial definition.

See also

Document Tags and Contributors

 Last updated by: Delapouite,