Skip to content

Commit 3c494f8

Browse files
committed
Add a newLength parameter to transferToImmutable
Fixes #15
1 parent 366052a commit 3c494f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec.emu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -637,11 +637,11 @@ contributors: Mark S. Miller, Richard Gibson
637637
<ins class="block">
638638

639639
<emu-clause id="sec-arraybuffer.prototype.transfertoimmutable">
640-
<h1>ArrayBuffer.prototype.transferToImmutable ( )</h1>
640+
<h1>ArrayBuffer.prototype.transferToImmutable ( [ _newLength_ ] )</h1>
641641
<p>This method performs the following steps when called:</p>
642642
<emu-alg>
643643
1. Let _O_ be the *this* value.
644-
1. Return ? ArrayBufferCopyAndDetach(_O_, *undefined*, ~immutable~).
644+
1. Return ? ArrayBufferCopyAndDetach(_O_, _newLength_, ~immutable~).
645645
</emu-alg>
646646
</emu-clause>
647647
</ins>

0 commit comments

Comments
 (0)