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 --- .../javascript/reference/operators/conditional_operator/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'files/zh-tw/web/javascript/reference/operators/conditional_operator') diff --git a/files/zh-tw/web/javascript/reference/operators/conditional_operator/index.html b/files/zh-tw/web/javascript/reference/operators/conditional_operator/index.html index 7391bcbe5d..c16dc0cff1 100644 --- a/files/zh-tw/web/javascript/reference/operators/conditional_operator/index.html +++ b/files/zh-tw/web/javascript/reference/operators/conditional_operator/index.html @@ -5,7 +5,7 @@ translation_of: Web/JavaScript/Reference/Operators/Conditional_Operator ---
{{jsSidebar("Operators")}}
-

條件 (三元) 運算子 是 JavaScript 唯一用到三個運算元的運算子:在一個條件後面會跟著一個問號 (?),如果條件是 truthy,在冒號(:)前的表達式會被執行,如果條件是 falsy,在冒號後面的表達式會被執行,這個運算子常常被用來當作 if 的簡潔寫法.

+

條件 (三元) 運算子 是 JavaScript 唯一用到三個運算元的運算子:在一個條件後面會跟著一個問號 (?),如果條件是 truthy,在冒號(:)前的表達式會被執行,如果條件是 falsy,在冒號後面的表達式會被執行,這個運算子常常被用來當作 if 的簡潔寫法.

{{EmbedInteractiveExample("pages/js/expressions-conditionaloperators.html")}}
@@ -23,7 +23,7 @@ translation_of: Web/JavaScript/Reference/Operators/Conditional_Operator
exprIfTrue
如果 condition 的值是 truthy (等於或是可轉換為 true) , exprIfTrue  會被執行
exprIfFalse
-
如果 condition 的值是 falsy (等於或是可轉換為 false) , exprIfFalse  會被執行
+
如果 condition 的值是 falsy (等於或是可轉換為 false) , exprIfFalse  會被執行

描述

-- cgit v1.2.3-54-g00ecf