ES6 - Math-LN10 属性



10 的自然对数,约为 2.302。

语法

Math.LN2 

示例

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

输出

2.302585092994046           
广告
© . All rights reserved.