From 7c2556fe79c44d7c31108b8c8b048d2b7704a95e Mon Sep 17 00:00:00 2001 From: t7yang Date: Mon, 10 Jan 2022 08:38:04 +0800 Subject: remove span tag in zh-TW --- .../zh-tw/web/javascript/reference/global_objects/array/join/index.html | 2 +- .../zh-tw/web/javascript/reference/global_objects/array/map/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'files/zh-tw/web/javascript/reference/global_objects/array') diff --git a/files/zh-tw/web/javascript/reference/global_objects/array/join/index.html b/files/zh-tw/web/javascript/reference/global_objects/array/join/index.html index 0beaecebdd..a43360caf5 100644 --- a/files/zh-tw/web/javascript/reference/global_objects/array/join/index.html +++ b/files/zh-tw/web/javascript/reference/global_objects/array/join/index.html @@ -54,7 +54,7 @@ a.join(''); // 'WindRainFire'
function f(a, b, c) {
   var s = Array.prototype.join.call(arguments);
-  console.log(s); // '1,a,true'
+  console.log(s); // '1,a,true'
 }
 f(1, 'a', true);
 //expected output: "1,a,true"
diff --git a/files/zh-tw/web/javascript/reference/global_objects/array/map/index.html b/files/zh-tw/web/javascript/reference/global_objects/array/map/index.html
index d1838ce6ae..c87fa95064 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/array/map/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/array/map/index.html
@@ -15,7 +15,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/map
 ---
 
{{JSRef}}
-

map() 方法會建立一個新的陣列,其內容為原陣列的每一個元素經由回呼函式運算後所回傳的結果之集合。

+

map() 方法會建立一個新的陣列,其內容為原陣列的每一個元素經由回呼函式運算後所回傳的結果之集合。

{{EmbedInteractiveExample("pages/js/array-map.html")}}
-- cgit v1.2.3-54-g00ecf