From c40612041809fe289aba58aefa170bbe784aba1f Mon Sep 17 00:00:00 2001 From: t7yang Date: Mon, 10 Jan 2022 08:38:07 +0800 Subject: remove name attribute for zh-CN --- .../web/javascript/reference/global_objects/array/fill/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'files/zh-cn/web/javascript/reference/global_objects/array/fill') 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 07c1c104b5..0b7cdccee9 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 @@ -15,11 +15,11 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/fill

{{EmbedInteractiveExample("pages/js/array-fill.html")}}

-

语法

+

语法

arr.fill(value[start[end]])
-

参数

+

参数

value
@@ -34,7 +34,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/fill

修改后的数组。

-

描述

+

描述

fill 方法接受三个参数 value, start 以及 endstartend 参数是可选的, 其默认值分别为 0 和 this 对象的 length 属性值。

@@ -145,7 +145,7 @@ arr[0].hi = "hi"; // [{ hi: "hi" }, { hi: "hi" }, { hi: "hi" }] -

相关

+

相关