From a2960295605a27e084541fc2f93068dd3cad15ba Mon Sep 17 00:00:00 2001 From: t7yang Date: Mon, 10 Jan 2022 08:38:06 +0800 Subject: remove hidden class for zh-TW --- .../web/javascript/reference/global_objects/array/flat/index.html | 2 +- .../javascript/reference/global_objects/array/slice/index.html | 2 -- .../javascript/reference/global_objects/date/getday/index.html | 2 -- .../reference/global_objects/promise/finally/index.html | 4 ---- .../web/javascript/reference/global_objects/promise/index.html | 8 ++------ .../reference/operators/conditional_operator/index.html | 2 -- .../web/javascript/reference/operators/spread_syntax/index.html | 2 -- .../web/javascript/reference/statements/if...else/index.html | 2 -- 8 files changed, 3 insertions(+), 21 deletions(-) diff --git a/files/zh-tw/web/javascript/reference/global_objects/array/flat/index.html b/files/zh-tw/web/javascript/reference/global_objects/array/flat/index.html index 8a6a4b2549..e6a5002930 100644 --- a/files/zh-tw/web/javascript/reference/global_objects/array/flat/index.html +++ b/files/zh-tw/web/javascript/reference/global_objects/array/flat/index.html @@ -12,7 +12,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/flat

flat() 函數以遞迴方式將特定深度的子陣列重新串接成為一新的陣列

- +

\{{EmbedInteractiveExample("pages/js/array-flatten.html")}}

diff --git a/files/zh-tw/web/javascript/reference/global_objects/array/slice/index.html b/files/zh-tw/web/javascript/reference/global_objects/array/slice/index.html index 7079acee9d..4512eecf4e 100644 --- a/files/zh-tw/web/javascript/reference/global_objects/array/slice/index.html +++ b/files/zh-tw/web/javascript/reference/global_objects/array/slice/index.html @@ -15,8 +15,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/slice
{{EmbedInteractiveExample("pages/js/array-slice.html")}}
- -

語法

arr.slice([begin[, end]])
diff --git a/files/zh-tw/web/javascript/reference/global_objects/date/getday/index.html b/files/zh-tw/web/javascript/reference/global_objects/date/getday/index.html
index 18d250f6fd..dd5ebc36d4 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/date/getday/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/date/getday/index.html
@@ -9,8 +9,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/getDay
 
 
{{EmbedInteractiveExample("pages/js/date-getday.html", "shorter")}}
- -

語法

dateObj.getDay()
diff --git a/files/zh-tw/web/javascript/reference/global_objects/promise/finally/index.html b/files/zh-tw/web/javascript/reference/global_objects/promise/finally/index.html index 77adc0c6fa..d1d76d3d80 100644 --- a/files/zh-tw/web/javascript/reference/global_objects/promise/finally/index.html +++ b/files/zh-tw/web/javascript/reference/global_objects/promise/finally/index.html @@ -66,10 +66,6 @@ fetch(myRequest).then(function(response) {
- -

Specifications

diff --git a/files/zh-tw/web/javascript/reference/global_objects/promise/index.html b/files/zh-tw/web/javascript/reference/global_objects/promise/index.html index 60930d642f..c14a429795 100644 --- a/files/zh-tw/web/javascript/reference/global_objects/promise/index.html +++ b/files/zh-tw/web/javascript/reference/global_objects/promise/index.html @@ -13,10 +13,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Promise
{{EmbedInteractiveExample("pages/js/promise-constructor.html")}}
- - - -

語法

new Promise( /* executor */ function(resolve, reject) { ... } );
@@ -139,7 +135,7 @@ myFirstPromise.then((successMessage) => {

進階範例

-