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 --- .../javascript/reference/global_objects/array/keys/index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'files/zh-cn/web/javascript/reference/global_objects/array/keys') diff --git a/files/zh-cn/web/javascript/reference/global_objects/array/keys/index.html b/files/zh-cn/web/javascript/reference/global_objects/array/keys/index.html index 6da9228ed2..b8e10fdada 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/array/keys/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/array/keys/index.html @@ -16,7 +16,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/keys
{{EmbedInteractiveExample("pages/js/array-keys.html")}}
-

语法

+

语法

arr.keys()
 
@@ -25,7 +25,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/keys

一个新的 {{jsxref("Array")}} 迭代器对象。

-

示例

+

示例

索引迭代器会包含那些没有对应元素的索引

@@ -36,7 +36,7 @@ console.log(sparseKeys); // ['0', '2'] console.log(denseKeys); // [0, 1, 2] -

规范

+

规范

@@ -58,7 +58,7 @@ console.log(denseKeys); // [0, 1, 2]
-

浏览器兼容性

+

浏览器兼容性

@@ -68,7 +68,7 @@ console.log(denseKeys); // [0, 1, 2]
-

相关链接

+

相关链接