无涯教程-LN10函数

92 阅读1分钟

自然对数为10,约为2.302。

LN10 - 语法

Math.LN2 

LN10 - 示例

console.log(Math.LN10) //the natural logarithm of 10: ~2.303 
          

运行上面代码输出

2.302585092994046           

参考链接

www.learnfk.com/es6/es6-mat…