Skip to content

Commit 486addf

Browse files
authored
Update arraybuffer.md
1 parent 727c26c commit 486addf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/bom/arraybuffer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ myBlob.type // "text/html"
7373
`Blob`具有一个实例方法`slice`,用来拷贝原来的数据,返回的也是一个`Blob`实例。
7474

7575
```javascript
76-
myBlob.slice(startend, contentType)
76+
myBlob.slice(start, end, contentType)
7777
```
7878

7979
`slice`方法有三个参数,都是可选的。它们依次是起始的字节位置(默认为0)、结束的字节位置(默认为`size`属性的值,该位置本身将不包含在拷贝的数据之中)、新实例的数据类型(默认为空字符串)。

0 commit comments

Comments
 (0)