aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/domstring/index.html
blob: d894a1992be31d5a80fde17e2d15df3cb5370474 (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
---
title: DOMString
slug: Web/API/DOMString
tags:
  - API
  - DOM
  - Reference
  - String
translation_of: Web/API/DOMString
---
<div>{{APIRef("DOM")}}</div>

<p><strong><code>DOMString</code></strong> は、UTF-16 の文字列です。 JavaScript では同様の文字列を用いるため、 <code>DOMString</code> は直接 {{jsxref("String")}} に対応づけられます。</p>

<p><code>DOMString</code> を受け付けるメソッドや引数に {{jsxref("null")}} を渡すと、一般的に <code>"null"</code> として文字列化します。</p>

<h2 id="Specifications" name="Specifications">仕様書</h2>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">仕様書</th>
   <th scope="col">状態</th>
   <th scope="col">備考</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>{{SpecName('WebIDL', '#idl-DOMString', 'DOMString')}}</td>
   <td>{{Spec2('WebIDL')}}</td>
   <td></td>
  </tr>
 </tbody>
</table>

<h2 id="See_also" name="See_also">関連情報</h2>

<ul>
 <li>JavaScript {{jsxref("String")}}</li>
 <li>{{domxref("USVString")}}</li>
 <li>{{domxref("CSSOMString")}}</li>
 <li><a href="/ja/docs/Web/API/DOMString/Binary">バイナリ文字列</a></li>
</ul>