diff options
author | t7yang <t7yang@gmail.com> | 2022-01-10 08:38:07 +0800 |
---|---|---|
committer | Irvin <irvinfly@gmail.com> | 2022-02-16 02:35:54 +0800 |
commit | c40612041809fe289aba58aefa170bbe784aba1f (patch) | |
tree | 8ca89b071d04afcf7abd6d9a04d0765a041d9c8a /files/zh-cn/web/javascript/reference/global_objects/math/e | |
parent | 12a899ab8540bc84f56a0dc6491be80a48499d49 (diff) | |
download | translated-content-c40612041809fe289aba58aefa170bbe784aba1f.tar.gz translated-content-c40612041809fe289aba58aefa170bbe784aba1f.tar.bz2 translated-content-c40612041809fe289aba58aefa170bbe784aba1f.zip |
remove name attribute for zh-CN
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/math/e')
-rw-r--r-- | files/zh-cn/web/javascript/reference/global_objects/math/e/index.html | 10 |
1 files changed, 5 insertions, 5 deletions
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 2a0afca6ab..adb71b9f29 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 @@ -5,15 +5,15 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Math/E --- <div> {{JSRef("Global_Objects", "Math")}}</div> -<h2 id="Summary" name="Summary">概述</h2> +<h2 id="Summary">概述</h2> <p><code><strong>Math.E</strong></code> 属性表示自然对数的底数(或称为基数),e,约等于 2.718。</p> <p><math display="block"><semantics><mrow><mstyle mathvariant="monospace"><mi>Math.E</mi></mstyle><mo>=</mo><mi>e</mi><mo>≈</mo><mn>2.718</mn></mrow><annotation encoding="TeX">\mathtt{\mi{Math.E}} = e \approx 2.718</annotation></semantics></math></p> <div> {{js_property_attributes(0,0,0)}}</div> -<h2 id="Description" name="Description">描述</h2> +<h2 id="Description">描述</h2> <p>由于 <code>E</code> 是 <code>Math</code> 对象的静态属性,所以应该像这样使用:<code>Math.E</code>,而不是作为你创建的 <code>Math</code> 实例对象的属性(<code>Math</code> 不是构造函数)。</p> -<h2 id="Examples" name="Examples">示例</h2> -<h3 id="Example:_Using_Math.E" name="Example:_Using_Math.E">例子:使用 <code>Math.E</code></h3> +<h2 id="Examples">示例</h2> +<h3 id="Example:_Using_Math.E">例子:使用 <code>Math.E</code></h3> <p>下面的函数返回 e:</p> <pre class="brush:js">function getNapier() { return Math.E @@ -93,7 +93,7 @@ getNapier() // 2.718281828459045</pre> </tbody> </table> </div> -<h2 id="See_also" name="See_also">相关链接</h2> +<h2 id="See_also">相关链接</h2> <ul> <li>The {{jsxref("Global_Objects/Math", "Math")}} object it belongs to.</li> </ul> |