Math.exp(x) 参考 x 数值或表达式,被用作指数。
返回值
ex,即e的x次幂。这里e代表自然对数的底数,其近似为2.71828。
exp()语法如下: 代码如下: Math.exp(x) ; Math.exp()范例: 代码如下: