We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b88859f commit fe6c68cCopy full SHA for fe6c68c
spec.emu
@@ -504,9 +504,9 @@ contributors: Mark S. Miller, Richard Gibson
504
</dl>
505
<emu-alg>
506
1. Assert: IsSharedArrayBuffer(_arrayBuffer_) is *false*.
507
+ 1. <ins>If IsImmutableBuffer(_arrayBuffer_) is *true*, throw a *TypeError* exception.</ins>
508
1. If _key_ is not present, set _key_ to *undefined*.
509
1. If _arrayBuffer_.[[ArrayBufferDetachKey]] is not _key_, throw a *TypeError* exception.
- 1. <ins>If IsImmutableBuffer(_arrayBuffer_) is *true*, throw a *TypeError* exception.</ins>
510
1. Set _arrayBuffer_.[[ArrayBufferData]] to *null*.
511
1. Set _arrayBuffer_.[[ArrayBufferByteLength]] to 0.
512
1. Return ~unused~.
0 commit comments