diff options
Diffstat (limited to 'files/zh-tw/web/javascript/reference/global_objects/math/abs/index.html')
| -rw-r--r-- | files/zh-tw/web/javascript/reference/global_objects/math/abs/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 <p>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.</p> -<pre class="brush: js" dir="rtl">Math.abs('-1'); // 1 +<pre class="brush: js">Math.abs('-1'); // 1 Math.abs(-2); // 2 Math.abs(null); // 0 Math.abs(''); // 0 |
