Compare Revisions

StringView

Change Revisions

Revision 503553:

Revision 503553 by fusionchess on

Revision 503555:

Revision 503555 by fusionchess on

Title:
StringView
StringView
Slug:
Code_snippets/StringView
Code_snippets/StringView
Tags:
"Code snippet", "MDN JavaScript Libraries", "Sample code", "Guide", "js-ctypes", "WebGL", "JavaScript typed arrays", "JavaScript", "Typed Arrays", "WebSockets"
"Code snippet", "MDN JavaScript Libraries", "Sample code", "Guide", "js-ctypes", "WebGL", "JavaScript typed arrays", "JavaScript", "Typed Arrays", "WebSockets"
Content:

Revision 503553
Revision 503555
t1084      A <a href="/en-US/docs/Web/JavaScript/Reference/Global_Objet1084      A <a href="/en-US/docs/Web/JavaScript/Reference/Global_Obje
>cts/Number">number</a> expressing <strong>in <a href="#glossary_c>cts/Number">number</a> expressing <strong>in <a href="#glossary_c
>odepoint" title="Codepoint - glossary">codepoints</a></strong> th>odepoint" title="Codepoint - glossary">codepoints</a></strong> th
>e length of the new <code>stringView</code> if the <code>input</c>e length of the new <code>stringView</code> if the <code>input</c
>ode> argument is a <code>string</code> or a <code>stringView</cod>ode> argument is a <code>string</code> or a <code>stringView</cod
>e>, or <strong>in raw <a href="#glossary_element" title="Element >e>, or <strong>in raw <a href="#glossary_element" title="Element 
>- glossary">elements</a></strong> if the input is a <a href="/en->- glossary">elements</a></strong> if the input is a <a href="/en-
>US/docs/Web/JavaScript/Typed_arrays">typed array</a>, an <a href=>US/docs/Web/JavaScript/Typed_arrays">typed array</a>, an <a href=
>"/en-US/docs/Web/JavaScript/Typed_arrays/ArrayBuffer"><code>array>"/en-US/docs/Web/JavaScript/Typed_arrays/ArrayBuffer"><code>array
>Buffer</code></a> or any other kind ordered object (like <a href=>Buffer</code></a> or any other kind of ordered object (like <a hr
>"/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array"><code>ef="/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array"><c
>>Array</code></a>, collections, etc.). If not specified it will t>ode>Array</code></a>, collections, etc.). If not specified it wil
>ake the length of the input. <strong>It never can be major than t>l take the length of the input. <strong>It never can be major tha
>he length of the input</strong>. If you want to see how create a >n the length of the input</strong>. If you want to see how create
>stringView bigger than its content, please, see <a href="#note_ab> a stringView bigger than its content, please, see <a href="#note
>out_length">this note</a>.>_about_length">this note</a>.

Back to History