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
Copy file name to clipboardExpand all lines: spec.emu
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -375,13 +375,14 @@ contributors: Mark S. Miller, Richard Gibson
375
375
AllocateArrayBuffer (
376
376
_constructor_: a constructor,
377
377
_byteLength_: a non-negative integer,
378
-
optional _maxByteLength_: a non-negative integer, or either ~empty~ or ~immutable~,
378
+
optional _maxByteLength_: a non-negative integer, <del>or ~empty~</del> <ins>or either ~empty~ or ~immutable~</ins>,
379
379
): either a normal completion containing an ArrayBuffer or a throw completion
380
380
</h1>
381
381
<dl class="header">
382
382
<dt>description</dt>
383
383
<dd>It is used to create an ArrayBuffer.</dd>
384
384
</dl>
385
+
<emu-note type="editor">The current name and domain of parameter _maxByteLength_ is preserved for the benefit of diff readability, but both may be subject to change before acceptance into ECMA-262.</emu-note>
385
386
<emu-alg>
386
387
1. Let _slots_ be « [[ArrayBufferData]], [[ArrayBufferByteLength]], [[ArrayBufferDetachKey]] ».
387
388
1. If _maxByteLength_ is present and _maxByteLength_ is <del>not ~empty~</del> <ins>an integer</ins>, let _allocatingResizableBuffer_ be *true*; otherwise let _allocatingResizableBuffer_ be *false*.
0 commit comments