From cc03ce3d7332457067e320d182307a3fc7285a4e Mon Sep 17 00:00:00 2001 From: wildskyf Date: Wed, 14 Apr 2021 17:40:06 +0800 Subject: remove useless dir="rtl" for zh-TW --- files/zh-tw/web/javascript/reference/global_objects/math/abs/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/zh-tw/web/javascript/reference/global_objects/math') diff --git a/files/zh-tw/web/javascript/reference/global_objects/math/abs/index.html b/files/zh-tw/web/javascript/reference/global_objects/math/abs/index.html index 91be97bc11..1713164868 100644 --- a/files/zh-tw/web/javascript/reference/global_objects/math/abs/index.html +++ b/files/zh-tw/web/javascript/reference/global_objects/math/abs/index.html @@ -43,7 +43,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Math/abs

Passing an empty object, an array with more than one member, a non-numeric string or {{jsxref("undefined")}}/empty variable returns {{jsxref("NaN")}}. Passing {{jsxref("null")}}, an empty string or an empty array returns 0.

-
Math.abs('-1');     // 1
+
Math.abs('-1');     // 1
 Math.abs(-2);       // 2
 Math.abs(null);     // 0
 Math.abs('');       // 0
-- 
cgit v1.2.3-54-g00ecf