Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 766627 of USVString

  • Revision slug: Web/API/USVString
  • Revision title: USVString
  • Revision id: 766627
  • Created:
  • Creator: chrisdavidmills
  • Is current revision? No
  • Comment

Revision Content

{{APIRef("DOM")}}

USVString corresponds to the set of all possible sequences of unicode scalar values. USVString maps to a {{jsxref("String")}} when returned in JavaScript; its generally only used for APIs that perform text processing and need a string of unicode scalar values to operate on.

Specifications

Specification Status Comment
{{SpecName('WebIDL', '#idl-USVString', 'USVString')}} {{Spec2('WebIDL')}} Initial definition.

See also

Revision Source

<p>{{APIRef("DOM")}}</p>

<p><strong><code>USVString</code></strong> corresponds to the set of all possible sequences of unicode scalar values. <code>USVString</code> maps to a {{jsxref("String")}} when returned in JavaScript; its generally only used for APIs that perform text processing and need a string of unicode scalar values to operate on.</p>

<h2 id="Specification" name="Specification">Specifications</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-USVString', 'USVString')}}</td>
   <td>{{Spec2('WebIDL')}}</td>
   <td>Initial definition.</td>
  </tr>
 </tbody>
</table>

<h2 id="See_also">See also</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><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>
Revert to this revision