You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
): either a normal completion containing an ArrayBuffer or a throw completion
444
+
</h1>
445
+
<dl class="header">
446
+
<dt>description</dt>
447
+
<dd>It is used to create an immutable ArrayBuffer (i.e., an ArrayBuffer with a an [[ArrayBufferIsImmutable]] slot) with contents from _fromBlock_.</dd>
448
+
</dl>
449
+
<emu-alg>
450
+
1. Assert: _constructor_ is %ArrayBuffer%.
451
+
1. Assert: _count_ ≤ _byteLength_.
452
+
1. Let _newBuffer_ be ? <emu-meta suppress-effects="user-code">AllocateArrayBuffer(_constructor_, _byteLength_, ~immutable~)</emu-meta>.
453
+
1. Let _toBlock_ be _newBuffer_.[[ArrayBufferData]].
0 commit comments