DOMString
DOMString
é uma String UTF-16. Como o JavaScript já usa tais strings, uma DOMString
é mapeada diretamente a uma String
.
Passando null
para um método ou parâmetro que aceite uma DOMString
, tal valor é convertido para a string "null"
.
Especificações
Specification | Status | Comment |
---|---|---|
Web IDL The definition of 'DOMString' in that specification. |
Candidata a Recomendação | Reformulação da definição para remover alguns casos estranhos. |
Document Object Model (DOM) Level 3 Core Specification The definition of 'DOMString' in that specification. |
Obsoleto | Nenhuma mudança da Document Object Model (DOM) Level 2 Core Specification |
Document Object Model (DOM) Level 2 Core Specification The definition of 'DOMString' in that specification. |
Obsoleto | Nenhuma mudança da Document Object Model (DOM) Level 1 Specification |
Document Object Model (DOM) Level 1 Specification The definition of 'DOMString' in that specification. |
Obsoleto | Definição inicial. |