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/indexof/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'files/zh-cn/web/javascript/reference/global_objects/array/indexof') diff --git a/files/zh-cn/web/javascript/reference/global_objects/array/indexof/index.html b/files/zh-cn/web/javascript/reference/global_objects/array/indexof/index.html index c470a8b265..a4ef7ead3b 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/array/indexof/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/array/indexof/index.html @@ -20,7 +20,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/indexOf

注意:对于String方法,请参阅 {{jsxref("String.prototype.indexOf()")}}。

-

语法

+

语法

arr.indexOf(searchElement[, fromIndex])
@@ -189,7 +189,7 @@ if (!Array.prototype.indexOf) {

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

-

相关链接

+

相关链接