From 012ee621791b6895e637f96e6523027951768f25 Mon Sep 17 00:00:00 2001 From: Irvin Date: Wed, 16 Feb 2022 02:03:27 +0800 Subject: remove inline style for zh-CN --- .../reference/global_objects/array/fill/index.html | 2 +- .../reference/global_objects/array/findindex/index.html | 2 +- .../reference/global_objects/array/map/index.html | 2 +- .../reference/global_objects/array/of/index.html | 4 ++-- .../reference/global_objects/array/pop/index.html | 2 +- .../reference/global_objects/array/push/index.html | 4 ++-- .../reference/global_objects/array/reduce/index.html | 7 ------- .../global_objects/array/reduceright/index.html | 4 ++-- .../reference/global_objects/array/reverse/index.html | 16 ++++++++-------- .../reference/global_objects/array/slice/index.html | 6 +++--- .../reference/global_objects/array/some/index.html | 2 +- 11 files changed, 22 insertions(+), 29 deletions(-) (limited to 'files/zh-cn/web/javascript/reference/global_objects/array') diff --git a/files/zh-cn/web/javascript/reference/global_objects/array/fill/index.html b/files/zh-cn/web/javascript/reference/global_objects/array/fill/index.html index 05f19bfcb5..07c1c104b5 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/array/fill/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/array/fill/index.html @@ -42,7 +42,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/fill

fill 方法故意被设计成通用方法, 该方法不要求 this 是数组对象。

-

fill 方法是个可变方法, 它会改变调用它的 this 对象本身, 然后返回它, 而并不是返回一个副本。

+

fill 方法是个可变方法, 它会改变调用它的 this 对象本身, 然后返回它, 而并不是返回一个副本。

当一个对象被传递给 fill方法的时候, 填充数组的是这个对象的引用。

diff --git a/files/zh-cn/web/javascript/reference/global_objects/array/findindex/index.html b/files/zh-cn/web/javascript/reference/global_objects/array/findindex/index.html index b0c8967e8e..ecde3c0f25 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/array/findindex/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/array/findindex/index.html @@ -37,7 +37,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/findIndex
thisArg
-
可选。执行callback时作为this对象的值.
+
可选。执行callback时作为this对象的值.

返回值

diff --git a/files/zh-cn/web/javascript/reference/global_objects/array/map/index.html b/files/zh-cn/web/javascript/reference/global_objects/array/map/index.html index 1517622c81..15e10d0329 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/array/map/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/array/map/index.html @@ -334,7 +334,7 @@ if (!Array.prototype.map) {

{{Compat("javascript.builtins.Array.map")}}

-

相关链接

+

相关链接