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 The definition of 'DOMString' in that specification. |
Candidate Recommendation |
See also
- JavaScript
String
USVString
CSSOMString
- Binary strings