diff options
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/number')
16 files changed, 28 insertions, 32 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/number/epsilon/index.html b/files/zh-cn/web/javascript/reference/global_objects/number/epsilon/index.html index fea6ee1bb8..1557f531e3 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/number/epsilon/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/number/epsilon/index.html @@ -59,7 +59,7 @@ equal = (Math.abs(x - y + z) < Number.EPSILON); <div>{{CompatibilityTable}}</div> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -82,7 +82,7 @@ equal = (Math.abs(x - y + z) < Number.EPSILON); </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/number/index.html b/files/zh-cn/web/javascript/reference/global_objects/number/index.html index 7e89881960..7400ad4ee2 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/number/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/number/index.html @@ -177,7 +177,7 @@ Number('-Infinity') //-Infinity</pre> <h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2> -<div id="compat-mobile"> +<div> <div class="hidden"> <p>The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a>and send us a pull request.</p> </div> diff --git a/files/zh-cn/web/javascript/reference/global_objects/number/max_safe_integer/index.html b/files/zh-cn/web/javascript/reference/global_objects/number/max_safe_integer/index.html index 2222e5a5ff..0721e49377 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/number/max_safe_integer/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/number/max_safe_integer/index.html @@ -49,7 +49,7 @@ Math.pow(2, 53) - 1 // 9007199254740991 <div>{{CompatibilityTable}}</div> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -72,7 +72,7 @@ Math.pow(2, 53) - 1 // 9007199254740991 </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/number/max_value/index.html b/files/zh-cn/web/javascript/reference/global_objects/number/max_value/index.html index 974f0a46e0..30e25ab13c 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/number/max_value/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/number/max_value/index.html @@ -60,7 +60,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Number/MAX_VALUE <p>{{ CompatibilityTable() }}</p> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -83,7 +83,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Number/MAX_VALUE </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/number/min_value/index.html b/files/zh-cn/web/javascript/reference/global_objects/number/min_value/index.html index 0b90f3eb28..b61649b58b 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/number/min_value/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/number/min_value/index.html @@ -47,7 +47,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Number/MIN_VALUE </table> <h2 id="浏览器兼容性">浏览器兼容性</h2> <p>{{ CompatibilityTable() }}</p> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -69,7 +69,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Number/MIN_VALUE </tbody> </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/number/nan/index.html b/files/zh-cn/web/javascript/reference/global_objects/number/nan/index.html index 9921175594..e75b557e76 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/number/nan/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/number/nan/index.html @@ -49,7 +49,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Number/NaN <p>{{ CompatibilityTable() }}</p> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -72,7 +72,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Number/NaN </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/number/negative_infinity/index.html b/files/zh-cn/web/javascript/reference/global_objects/number/negative_infinity/index.html index 6649246cf5..1078f84668 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/number/negative_infinity/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/number/negative_infinity/index.html @@ -58,7 +58,7 @@ if (smallNumber == Number.NEGATIVE_INFINITY) { </table> <h2 id="浏览器规范">浏览器规范</h2> <p>{{ CompatibilityTable() }}</p> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -80,7 +80,7 @@ if (smallNumber == Number.NEGATIVE_INFINITY) { </tbody> </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/number/parsefloat/index.html b/files/zh-cn/web/javascript/reference/global_objects/number/parsefloat/index.html index f55a3ceba8..85926e5d09 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/number/parsefloat/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/number/parsefloat/index.html @@ -53,7 +53,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Number/parseFloat <div>{{CompatibilityTable}}</div> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -76,7 +76,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Number/parseFloat </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/number/positive_infinity/index.html b/files/zh-cn/web/javascript/reference/global_objects/number/positive_infinity/index.html index 4207e72e5a..e9020ba078 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/number/positive_infinity/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/number/positive_infinity/index.html @@ -73,7 +73,7 @@ if (bigNumber == Number.POSITIVE_INFINITY) { <p>{{ CompatibilityTable() }}</p> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -96,7 +96,7 @@ if (bigNumber == Number.POSITIVE_INFINITY) { </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/number/toexponential/index.html b/files/zh-cn/web/javascript/reference/global_objects/number/toexponential/index.html index a19013e4c4..97ed9f8a6d 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/number/toexponential/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/number/toexponential/index.html @@ -85,7 +85,7 @@ alert("77 .toExponential() is " + 77 .toExponential()); //输出 7.7e+1</pre> <p>{{ CompatibilityTable() }}</p> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -108,7 +108,7 @@ alert("77 .toExponential() is " + 77 .toExponential()); //输出 7.7e+1</pre> </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/number/tofixed/index.html b/files/zh-cn/web/javascript/reference/global_objects/number/tofixed/index.html index 00c5e18508..fcf55b0517 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/number/tofixed/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/number/tofixed/index.html @@ -109,7 +109,3 @@ numObj.toFixed(6); // 返回 "12345.678900":用0填充 <li>{{jsxref("Number.prototype.toPrecision()")}}</li> <li>{{jsxref("Number.prototype.toString()")}}</li> </ul> - -<div id="gtx-trans" style="position: absolute; left: 561px; top: 1828px;"> -<div class="gtx-trans-icon"></div> -</div> diff --git a/files/zh-cn/web/javascript/reference/global_objects/number/tolocalestring/index.html b/files/zh-cn/web/javascript/reference/global_objects/number/tolocalestring/index.html index e907f810c9..193bdf15ea 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/number/tolocalestring/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/number/tolocalestring/index.html @@ -156,7 +156,7 @@ console.log(number.toLocaleString('en-IN', { maximumSignificantDigits: 3 })); <p>{{Compat("javascript.builtins.Number.toLocaleString")}}</p> -<div id="compat-mobile"> </div> +<div> </div> <h2 id="相关链接">相关链接</h2> diff --git a/files/zh-cn/web/javascript/reference/global_objects/number/toprecision/index.html b/files/zh-cn/web/javascript/reference/global_objects/number/toprecision/index.html index daa0fa0bc8..ec964370f1 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/number/toprecision/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/number/toprecision/index.html @@ -76,7 +76,7 @@ console.log((1234.5).toPrecision(2)); // "1.2e+3" <p>{{ CompatibilityTable() }}</p> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -99,7 +99,7 @@ console.log((1234.5).toPrecision(2)); // "1.2e+3" </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/number/tosource/index.html b/files/zh-cn/web/javascript/reference/global_objects/number/tosource/index.html index 3ed14e1397..9355dbb11d 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/number/tosource/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/number/tosource/index.html @@ -28,7 +28,7 @@ Number.toSource(); <p>不是任何标准的一部分。在 JavaScript 1.3 被实现。</p> <h2 id="浏览器兼容性">浏览器兼容性</h2> <p>{{ CompatibilityTable() }}</p> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -50,7 +50,7 @@ Number.toSource(); </tbody> </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/number/tostring/index.html b/files/zh-cn/web/javascript/reference/global_objects/number/tostring/index.html index 30fdc17406..2a7407aa25 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/number/tostring/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/number/tostring/index.html @@ -92,7 +92,7 @@ console.log((-0xff).toString(2)); // 输出 '-11111111'</code> <div>{{CompatibilityTable}}</div> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -115,7 +115,7 @@ console.log((-0xff).toString(2)); // 输出 '-11111111'</code> </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/number/valueof/index.html b/files/zh-cn/web/javascript/reference/global_objects/number/valueof/index.html index 81168e6ea0..1b56f29115 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/number/valueof/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/number/valueof/index.html @@ -67,7 +67,7 @@ console.log(typeof num); // number <div>{{CompatibilityTable}}</div> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -90,7 +90,7 @@ console.log(typeof num); // number </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> |