From 12a899ab8540bc84f56a0dc6491be80a48499d49 Mon Sep 17 00:00:00 2001 From: t7yang Date: Mon, 10 Jan 2022 08:38:07 +0800 Subject: remove name attribute for zh-TW --- .../reference/global_objects/array/isarray/index.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'files/zh-tw/web/javascript/reference/global_objects/array/isarray/index.html') diff --git a/files/zh-tw/web/javascript/reference/global_objects/array/isarray/index.html b/files/zh-tw/web/javascript/reference/global_objects/array/isarray/index.html index f610cd1f54..771c17454d 100644 --- a/files/zh-tw/web/javascript/reference/global_objects/array/isarray/index.html +++ b/files/zh-tw/web/javascript/reference/global_objects/array/isarray/index.html @@ -22,11 +22,11 @@ Array.isArray('foobar'); // false Array.isArray(undefined); // false -

語法

+

語法

Array.isArray(obj)
-

參數

+

參數

obj
@@ -37,13 +37,13 @@ Array.isArray(undefined); // false

若物件為 {{jsxref("Array")}} 回傳 true;否則回傳 false

-

描述

+

描述

檢查傳入的物件是否為陣列({{jsxref("Array")}}),如果是便回傳 true,否則回傳 false

更多細節請參考 “Determining with absolute accuracy whether or not a JavaScript object is an array”

-

範例

+

範例

// 下方都回傳 true
 Array.isArray([]);
@@ -92,7 +92,7 @@ arr instanceof Array; // false
 }
 
-

規範

+

規範

@@ -119,7 +119,7 @@ arr instanceof Array; // false
-

瀏覽器相容性

+

瀏覽器相容性

@@ -127,7 +127,7 @@ arr instanceof Array; // false

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

-

參見

+

參見