From c4576ded828eb9a5ef5f032c8f9409a7116f80a1 Mon Sep 17 00:00:00 2001 From: t7yang Date: Mon, 10 Jan 2022 08:38:06 +0800 Subject: remove id attribute not in heading for zh-CN --- .../web/javascript/reference/global_objects/math/abs/index.html | 4 ++-- .../web/javascript/reference/global_objects/math/acos/index.html | 4 ++-- .../web/javascript/reference/global_objects/math/asin/index.html | 4 ++-- .../web/javascript/reference/global_objects/math/atan/index.html | 4 ++-- .../web/javascript/reference/global_objects/math/atan2/index.html | 4 ++-- .../web/javascript/reference/global_objects/math/atanh/index.html | 4 ++-- .../web/javascript/reference/global_objects/math/cbrt/index.html | 4 ++-- .../web/javascript/reference/global_objects/math/cos/index.html | 4 ++-- .../web/javascript/reference/global_objects/math/cosh/index.html | 4 ++-- .../web/javascript/reference/global_objects/math/e/index.html | 4 ++-- .../web/javascript/reference/global_objects/math/exp/index.html | 4 ++-- .../web/javascript/reference/global_objects/math/expm1/index.html | 4 ++-- .../web/javascript/reference/global_objects/math/floor/index.html | 4 ++-- .../javascript/reference/global_objects/math/fround/index.html | 4 ++-- .../web/javascript/reference/global_objects/math/imul/index.html | 4 ++-- .../web/javascript/reference/global_objects/math/ln10/index.html | 4 ++-- .../web/javascript/reference/global_objects/math/ln2/index.html | 4 ++-- .../web/javascript/reference/global_objects/math/log/index.html | 8 ++++---- .../web/javascript/reference/global_objects/math/log10/index.html | 4 ++-- .../javascript/reference/global_objects/math/log10e/index.html | 4 ++-- .../web/javascript/reference/global_objects/math/log1p/index.html | 4 ++-- .../web/javascript/reference/global_objects/math/log2/index.html | 4 ++-- .../web/javascript/reference/global_objects/math/log2e/index.html | 4 ++-- .../web/javascript/reference/global_objects/math/min/index.html | 4 ++-- .../web/javascript/reference/global_objects/math/pi/index.html | 4 ++-- .../web/javascript/reference/global_objects/math/round/index.html | 4 ++-- .../web/javascript/reference/global_objects/math/sign/index.html | 4 ++-- .../web/javascript/reference/global_objects/math/sin/index.html | 2 +- .../web/javascript/reference/global_objects/math/sinh/index.html | 4 ++-- .../javascript/reference/global_objects/math/sqrt1_2/index.html | 4 ++-- .../web/javascript/reference/global_objects/math/sqrt2/index.html | 4 ++-- .../web/javascript/reference/global_objects/math/tan/index.html | 4 ++-- 32 files changed, 65 insertions(+), 65 deletions(-) (limited to 'files/zh-cn/web/javascript/reference/global_objects/math') diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/abs/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/abs/index.html index c1f41d7202..397ad9724b 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/abs/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/abs/index.html @@ -67,7 +67,7 @@ Math.abs(); // NaN

{{ CompatibilityTable() }}

-
+
@@ -90,7 +90,7 @@ Math.abs(); // NaN
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/acos/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/acos/index.html index 7ff574d177..032174b53e 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/acos/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/acos/index.html @@ -57,7 +57,7 @@ Math.acos(2); // NaN

浏览器兼容性

{{ CompatibilityTable() }}

-
+
@@ -79,7 +79,7 @@ Math.acos(2); // NaN
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/asin/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/asin/index.html index de7ebe61b3..7e6017abbd 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/asin/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/asin/index.html @@ -56,7 +56,7 @@ Math.asin(2); // NaN

浏览器兼容性

{{ CompatibilityTable() }}

-
+
@@ -78,7 +78,7 @@ Math.asin(2); // NaN
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/atan/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/atan/index.html index cd10d30644..460bd0de51 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/atan/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/atan/index.html @@ -52,7 +52,7 @@ Math.atan(0); // 0

浏览器兼容性

{{ CompatibilityTable() }}

-
+
@@ -74,7 +74,7 @@ Math.atan(0); // 0
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/atan2/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/atan2/index.html index 7bf921655d..64064017c7 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/atan2/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/atan2/index.html @@ -79,7 +79,7 @@ Math.atan2(15, 90) // 0.16514867741462683

{{ CompatibilityTable() }}

-
+
@@ -102,7 +102,7 @@ Math.atan2(15, 90) // 0.16514867741462683
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/atanh/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/atanh/index.html index 08af33d242..6a0b373ddf 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/atanh/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/atanh/index.html @@ -73,7 +73,7 @@ Math.atanh(2); // NaN
{{CompatibilityTable}}
-
+
@@ -96,7 +96,7 @@ Math.atanh(2); // NaN
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/cbrt/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/cbrt/index.html index 402ebeb052..22f37c402a 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/cbrt/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/cbrt/index.html @@ -82,7 +82,7 @@ Math.cbrt(2); // 1.2599210498948734

{{ CompatibilityTable() }}

-
+
@@ -105,7 +105,7 @@ Math.cbrt(2); // 1.2599210498948734
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/cos/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/cos/index.html index 55b273cad1..482f2fa09a 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/cos/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/cos/index.html @@ -54,7 +54,7 @@ Math.cos(2 * Math.PI); // 1

浏览器兼容性

{{ CompatibilityTable() }}

-
+
@@ -76,7 +76,7 @@ Math.cos(2 * Math.PI); // 1
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/cosh/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/cosh/index.html index cd5e578571..f046070715 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/cosh/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/cosh/index.html @@ -71,7 +71,7 @@ Math.cosh(-1); // 1.5430806348152437
{{CompatibilityTable}}
-
+
@@ -94,7 +94,7 @@ Math.cosh(-1); // 1.5430806348152437
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/e/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/e/index.html index ffa4251bac..2a0afca6ab 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/e/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/e/index.html @@ -47,7 +47,7 @@ getNapier() // 2.718281828459045

浏览器兼容性

{{ CompatibilityTable() }}

-
+
@@ -69,7 +69,7 @@ getNapier() // 2.718281828459045
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/exp/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/exp/index.html index 6295073e83..0da94f62c2 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/exp/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/exp/index.html @@ -50,7 +50,7 @@ Math.exp(1); // 2.718281828459045

浏览器兼容性

{{ CompatibilityTable() }}

-
+
@@ -72,7 +72,7 @@ Math.exp(1); // 2.718281828459045
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/expm1/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/expm1/index.html index f7baeb0486..3098a43b63 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/expm1/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/expm1/index.html @@ -64,7 +64,7 @@ Math.expm1("foo") // NaN

{{ CompatibilityTable() }}

-
+
@@ -87,7 +87,7 @@ Math.expm1("foo") // NaN
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/floor/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/floor/index.html index 6a8bb13fc2..84f4f3b8b6 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/floor/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/floor/index.html @@ -162,7 +162,7 @@ Math.ceil10(-59, 1); // -50

{{ CompatibilityTable() }}

-
+
@@ -185,7 +185,7 @@ Math.ceil10(-59, 1); // -50
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/fround/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/fround/index.html index 022e84dbb6..f5118b4a22 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/fround/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/fround/index.html @@ -99,7 +99,7 @@ equal(0.1 + 0.2, 0.3); //true
{{CompatibilityTable}}
-
+
@@ -122,7 +122,7 @@ equal(0.1 + 0.2, 0.3); //true
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/imul/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/imul/index.html index 9d0e9f1c29..a3daf8f633 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/imul/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/imul/index.html @@ -94,7 +94,7 @@ Math.imul(0xfffffffe, 5) //-10

{{ CompatibilityTable() }}

-
+
@@ -117,7 +117,7 @@ Math.imul(0xfffffffe, 5) //-10
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/ln10/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/ln10/index.html index dac9f67466..a4eba0051e 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/ln10/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/ln10/index.html @@ -47,7 +47,7 @@ getNatLog10() // 2.302585092994046

浏览器兼容性

{{ CompatibilityTable() }}

-
+
@@ -69,7 +69,7 @@ getNatLog10() // 2.302585092994046
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/ln2/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/ln2/index.html index ab79666f23..b8d7dd049e 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/ln2/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/ln2/index.html @@ -47,7 +47,7 @@ getNatLog2() // 0.6931471805599453

浏览器兼容性

{{ CompatibilityTable() }}

-
+
@@ -69,7 +69,7 @@ getNatLog2() // 0.6931471805599453
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/log/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/log/index.html index d91a937ec1..827dea60af 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/log/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/log/index.html @@ -3,9 +3,9 @@ title: Math.log() slug: Web/JavaScript/Reference/Global_Objects/Math/log translation_of: Web/JavaScript/Reference/Global_Objects/Math/log --- -

{{JSRef("Global_Objects", "Math")}}

+

{{JSRef("Global_Objects", "Math")}}

-

概述

+

概述

Math.log() 函数返回一个数的自然对数,即:

@@ -80,7 +80,7 @@ Math.log(10); // 2.302585092994046

{{ CompatibilityTable() }}

-
+
@@ -103,7 +103,7 @@ Math.log(10); // 2.302585092994046
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/log10/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/log10/index.html index 3b8aefc6ed..80dc91b6ca 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/log10/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/log10/index.html @@ -58,7 +58,7 @@ Math.log10("foo")// NaN

{{ CompatibilityTable() }}

-
+
@@ -81,7 +81,7 @@ Math.log10("foo")// NaN
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/log10e/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/log10e/index.html index 3a929935f1..1e5f1ae035 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/log10e/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/log10e/index.html @@ -47,7 +47,7 @@ getLog10e() // 0.4342944819032518

浏览器兼容性

{{ CompatibilityTable() }}

-
+
@@ -69,7 +69,7 @@ getLog10e() // 0.4342944819032518
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/log1p/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/log1p/index.html index 2f9b0c64a5..403d4039a2 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/log1p/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/log1p/index.html @@ -61,7 +61,7 @@ Math.log1p("foo") // NaN

{{ CompatibilityTable() }}

-
+
@@ -84,7 +84,7 @@ Math.log1p("foo") // NaN
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/log2/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/log2/index.html index bb048cd49a..78f1c43b93 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/log2/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/log2/index.html @@ -58,7 +58,7 @@ Math.log2("foo") // NaN

{{ CompatibilityTable() }}

-
+
@@ -81,7 +81,7 @@ Math.log2("foo") // NaN
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/log2e/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/log2e/index.html index 9c68f4cc57..9ede75f09c 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/log2e/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/log2e/index.html @@ -47,7 +47,7 @@ getLog2e() // 1.4426950408889634

浏览器兼容性

{{ CompatibilityTable() }}

-
+
@@ -69,7 +69,7 @@ getLog2e() // 1.4426950408889634
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/min/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/min/index.html index 2cc029c6c3..a5a5a6defc 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/min/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/min/index.html @@ -100,7 +100,7 @@ if (x > boundary) {

{{ CompatibilityTable() }}

-
+
@@ -123,7 +123,7 @@ if (x > boundary) {
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/pi/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/pi/index.html index 69b5ab79d1..9c844c1447 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/pi/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/pi/index.html @@ -60,7 +60,7 @@ calculateCircumference(1); // 6.283185307179586

{{ CompatibilityTable() }}

-
+
@@ -83,7 +83,7 @@ calculateCircumference(1); // 6.283185307179586
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/round/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/round/index.html index 477faee220..6b9b7956ba 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/round/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/round/index.html @@ -157,7 +157,7 @@ round(1.005, 2); //1.01
{{CompatibilityTable}}
-
+
@@ -180,7 +180,7 @@ round(1.005, 2); //1.01
-
+
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 9c41082511..60808dde44 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 @@ -97,7 +97,7 @@ Math.sign(); // NaN

{{ CompatibilityTable() }}

-
+
@@ -120,7 +120,7 @@ Math.sign(); // NaN
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/sin/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/sin/index.html index a08cda8912..fffb0dc1a1 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/sin/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/sin/index.html @@ -66,7 +66,7 @@ Math.sin(Math.PI / 2); // 1

{{ Compat("javascript.builtins.Math.sin") }}

-
+

相关链接

diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/sinh/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/sinh/index.html index 1682a0ba73..7ba28b5f3d 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/sinh/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/sinh/index.html @@ -63,7 +63,7 @@ Math.sinh("foo") // NaN

{{ CompatibilityTable() }}

-
+
@@ -86,7 +86,7 @@ Math.sinh("foo") // NaN
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/sqrt1_2/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/sqrt1_2/index.html index 47e0557901..2c3c139abe 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/sqrt1_2/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/sqrt1_2/index.html @@ -48,7 +48,7 @@ getRoot1_2() // 0.7071067811865476

浏览器兼容性

{{ CompatibilityTable() }}

-
+
@@ -70,7 +70,7 @@ getRoot1_2() // 0.7071067811865476
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/sqrt2/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/sqrt2/index.html index a9eb2ddcd4..5171a2f9df 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/sqrt2/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/sqrt2/index.html @@ -43,7 +43,7 @@ getRoot2(); // 1.4142135623730951

浏览器兼容性

{{ CompatibilityTable() }}

-
+
@@ -65,7 +65,7 @@ getRoot2(); // 1.4142135623730951
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/tan/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/tan/index.html index 9e2464d76e..49e0f3c7c2 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/tan/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/tan/index.html @@ -58,7 +58,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Math/tan

浏览器兼容性

{{ CompatibilityTable() }}

-
+
@@ -80,7 +80,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Math/tan
-
+
-- cgit v1.2.3-54-g00ecf