--- title: DOMString slug: Web/API/DOMString translation_of: Web/API/DOMString ---
{{APIRef("DOM")}}
מחרוזת DOMString הינה מחרוזות מסוג UTF-16.
כל מחרוזת בשפת JavaScript נחשבת למחרוזת UTF-16 ולכן, נחשבת ל-DOMString באופן אוטומטי.
| Specification | Status | Comment |
|---|---|---|
| {{SpecName('WebIDL', '#idl-DOMString', 'DOMString')}} | {{Spec2('WebIDL')}} | Rephrasing of the definition to remove weird edge cases. |
| {{SpecName('DOM3 Core', 'core.html#DOMString', 'DOMString')}} | {{Spec2('DOM3 Core')}} | No change from {{SpecName('DOM2 Core')}} |
| {{SpecName('DOM2 Core', 'core.html#ID-C74D1578', 'DOMString')}} | {{Spec2('DOM2 Core')}} | No change from {{SpecName('DOM1')}} |
| {{SpecName('DOM1', 'level-one-core.html#ID-C74D1578', 'DOMString')}} | {{Spec2('DOM1')}} | Initial definition. |
StringView – a C-like representation of strings based on typed arrays