aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/api/domstring/index.html
blob: 0a0b547159f9ac180f9ced0b34eb90fec87c91ed (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의 {{jsxref("String")}}도 UTF-16 문자열이기 때문에 <code>DOMString</code><code>String</code>으로 연결됩니다.</p>

<p><code>DOMString</code>을 받는 매개변수에 {{jsxref("null")}}을 전달하면, 보통 문자열로 변환해 <code>"null"</code>이 됩니다.</p>

<h2 id="명세">명세</h2>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Status</th>
   <th scope="col">Comment</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>{{SpecName('WebIDL', '#idl-DOMString', 'DOMString')}}</td>
   <td>{{Spec2('WebIDL')}}</td>
   <td></td>
  </tr>
 </tbody>
</table>

<h2 id="같이_보기">같이 보기</h2>

<ul>
 <li>JavaScript {{jsxref("String")}}</li>
 <li>{{domxref("USVString")}}</li>
 <li>{{domxref("CSSOMString")}}</li>
 <li><a href="/ko/docs/Web/API/DOMString/Binary">이진 문자열</a></li>
</ul>