We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d6d776 commit 6a04a16Copy full SHA for 6a04a16
1 file changed
index.bs
@@ -9301,10 +9301,10 @@ a reference to the same object that the IDL value represents.
9301
given a [=buffer source type=] instance |bufferSource|:
9302
9303
1. If |bufferSource| is [=BufferSource/detached=], then return the empty [=byte sequence=].
9304
- 1. Let |arrayBuffer| be |bufferSource|.
9305
- 1. Let |offset| be 0.
9306
1. Let |length| be |bufferSource|'s [=BufferSource/byte length=].
9307
1. If |length| is 0, then return the empty [=byte sequence=].
+ 1. Let |arrayBuffer| be |bufferSource|.
+ 1. Let |offset| be 0.
9308
1. If |bufferSource| is a [=buffer view type=] instance:
9309
1. Set |arrayBuffer| to |bufferSource|'s [=underlying buffer=].
9310
1. Set |offset| to |bufferSource|'s [=ArrayBufferView/byte offset=].
0 commit comments