From d44f5032d0f53256b2d5aef505d6b593fd3cd158 Mon Sep 17 00:00:00 2001 From: Irvin Date: Wed, 16 Feb 2022 02:14:18 +0800 Subject: fix yari h2m dry run errors (zh-CN) --- .../reference/global_objects/math/sign/index.html | 52 +--------------------- 1 file changed, 2 insertions(+), 50 deletions(-) (limited to 'files/zh-cn/web/javascript/reference/global_objects/math/sign/index.html') diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/sign/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/sign/index.html index 3501c97fd8..b2ba39ed7a 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/sign/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/sign/index.html @@ -50,7 +50,7 @@ Math.sign(); // NaN

Polyfill

-
function sign(x) {
+
function sign(x) {
     x = +x ;// convert to a number
     if (x === 0 || isNaN(x))
         return x;
@@ -95,55 +95,7 @@ Math.sign();      // NaN
 
 

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support38{{CompatGeckoDesktop("25")}}{{CompatNo}}25{{CompatNo}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatNo}}{{CompatNo}}{{CompatGeckoMobile("25")}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
-
+{{Compat}}

相关链接

-- cgit v1.2.3-54-g00ecf