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/of/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'files/zh-cn/web/javascript/reference/global_objects/array/of') diff --git a/files/zh-cn/web/javascript/reference/global_objects/array/of/index.html b/files/zh-cn/web/javascript/reference/global_objects/array/of/index.html index 9013ce9446..8c12486fe2 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/array/of/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/array/of/index.html @@ -24,11 +24,11 @@ Array(7); // [ , , , , , , ] Array(1, 2, 3); // [1, 2, 3] -

语法

+

语法

Array.of(element0[, element1[, ...[, elementN]]])
-

参数

+

参数

elementN
@@ -50,7 +50,7 @@ Array.of(1, 2, 3); // [1, 2, 3] Array.of(undefined); // [undefined] -

兼容旧环境

+

兼容旧环境

如果原生不支持的话,在其他代码之前执行以下代码会创建 Array.of() 。

-- cgit v1.2.3-54-g00ecf