From f285f0dcad3a51a489fa086db9eebe1d00358dc0 Mon Sep 17 00:00:00 2001 From: waiting <1661926154@qq.com> Date: Sun, 26 May 2019 16:33:51 +0800 Subject: [PATCH] =?UTF-8?q?docs(arrayBuffer):=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E8=AF=AD=E5=8F=A5=E7=BB=84=E7=BB=87=E5=BD=A2=E5=BC=8F=E6=8F=90?= =?UTF-8?q?=E9=AB=98=E6=98=93=E8=AF=BB=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 本段落主题为 `TypedArray.prototype.length`,段内语句保持主语一致为 `length` 可保持语句通顺性,提高理解速度 - `前者` 既指代文前的 `length` 也契合下方代码中在前的 `a.length` 语句,承上启下让这一段落的文字和代码有机地组合 --- docs/arraybuffer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/arraybuffer.md b/docs/arraybuffer.md index c46f8c6..9eb73ee 100644 --- a/docs/arraybuffer.md +++ b/docs/arraybuffer.md @@ -579,7 +579,7 @@ v3.byteOffset // 2 ### TypedArray.prototype.length -`length`属性表示 TypedArray 数组含有多少个成员。注意将`byteLength`属性和`length`属性区分,前者是字节长度,后者是成员长度。 +`length`属性表示 `TypedArray` 数组含有多少个成员。注意将 `length` 属性和 `byteLength` 属性区分,前者是成员长度,后者是字节长度。 ```javascript const a = new Int16Array(8);