From c40612041809fe289aba58aefa170bbe784aba1f Mon Sep 17 00:00:00 2001 From: t7yang Date: Mon, 10 Jan 2022 08:38:07 +0800 Subject: remove name attribute for zh-CN --- .../reference/global_objects/math/exp/index.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'files/zh-cn/web/javascript/reference/global_objects/math/exp') 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 0da94f62c2..14f5af47c3 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 @@ -5,21 +5,21 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Math/exp ---
{{JSRef("Global_Objects", "Math")}}
-

概述

+

概述

Math.exp() 函数返回 exx 表示参数,e欧拉常数(Euler's constant),自然对数的底数。

-

语法

+

语法

Math.exp(x)
-

参数

+

参数

x
一个数值
-

描述

+

描述

由于 expMath 的静态方法,所以应该像这样使用:Math.exp(),而不是作为你创建的 Math 实例的方法。

-

示例

-

例子:使用 Math.exp

+

示例

+

例子:使用 Math.exp

Math.exp(-1); // 0.36787944117144233
 Math.exp(0);  // 1
 Math.exp(1);  // 2.718281828459045
@@ -96,7 +96,7 @@ Math.exp(1); // 2.718281828459045 -

相关链接

+

相关链接