blob: 210e3c86c07a6145d5356d058e4f52fcbb794722 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
---
title: DOMString
slug: Web/API/DOMString
translation_of: Web/API/DOMString
---
<p>{{APIRef("DOM")}}<br>
מחרוזת <strong><code>DOMString</code></strong> הינה מחרוזות מסוג UTF-16.<br>
כל מחרוזת בשפת JavaScript נחשבת למחרוזת UTF-16 ולכן, נחשבת ל-<code><strong>DOMString</strong></code> באופן אוטומטי.</p>
<h2 id="Specification" name="Specification">מפרט</h2>
<table class="standard-table">
<tbody>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
<tr>
<td>{{SpecName('WebIDL', '#idl-DOMString', 'DOMString')}}</td>
<td>{{Spec2('WebIDL')}}</td>
<td>Rephrasing of the definition to remove weird edge cases.</td>
</tr>
<tr>
<td>{{SpecName('DOM3 Core', 'core.html#DOMString', 'DOMString')}}</td>
<td>{{Spec2('DOM3 Core')}}</td>
<td>No change from {{SpecName('DOM2 Core')}}</td>
</tr>
<tr>
<td>{{SpecName('DOM2 Core', 'core.html#ID-C74D1578', 'DOMString')}}</td>
<td>{{Spec2('DOM2 Core')}}</td>
<td>No change from {{SpecName('DOM1')}}</td>
</tr>
<tr>
<td>{{SpecName('DOM1', 'level-one-core.html#ID-C74D1578', 'DOMString')}}</td>
<td>{{Spec2('DOM1')}}</td>
<td>Initial definition.</td>
</tr>
</tbody>
</table>
<h2 id="ראו_גם">ראו גם </h2>
<ul>
<li><a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" title="/en-US/docs/Web/API/DOMString">String</a></li>
<li>{{domxref("USVString")}}</li>
<li>{{domxref("CSSOMString")}}</li>
<li><a href="/en-US/docs/Web/JavaScript/Typed_arrays/String_view" title="/en-US/docs/Web/JavaScript/Typed_arrays/String_view"><code>StringView</code> – a C-like representation of strings based on typed arrays</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/API/DOMString/Binary">Binary strings</a></li>
</ul>
|