Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

DOMString Redirect 1

« DOMString

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) Candidate Recommendation Rephrasing of the definition to remove weird edge cases.
Document Object Model (DOM) Level 3 Core Specification Recommendation No change from Document Object Model (DOM) Level 2 Core Specification
Document Object Model (DOM) Level 2 Core Specification Recommendation No change from Document Object Model (DOM) Level 1 Specification
Document Object Model (DOM) Level 1 Specification Recommendation Initial definition.

See also

Document Tags and Contributors

 Last updated by: Sheppy,