Skip to content

Commit

Permalink
Update files/zh-cn/web/javascript/reference/global_objects/arraybuffe…
Browse files Browse the repository at this point in the history
…r/maxbytelength/index.md
  • Loading branch information
jasonren0403 authored Nov 23, 2023
1 parent 52cacee commit 37c8186
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ slug: Web/JavaScript/Reference/Global_Objects/ArrayBuffer/maxByteLength

### 使用 maxByteLength

在该示例中,我们创建一个 8 字节缓冲区,该缓冲区可调整到最大长度为 16 字节,然后返回其 `maxByteLength`
在该示例中,我们创建一个 8 字节缓冲区,该缓冲区可调整到的最大长度为 16 字节,然后返回其 `maxByteLength`

```js
const buffer = new ArrayBuffer(8, { maxByteLength: 16 });
Expand Down

0 comments on commit 37c8186

Please sign in to comment.