LN2
它返回2的自然对数,约为0.693。
语法 (Syntax)
Math.LN2
例子 (Example)
console.log(Math.LN10) // the natural logarithm of 10: ~2.303
<p></p>
输出 (Output)
0.6931471805599453
它返回2的自然对数,约为0.693。
Math.LN2
console.log(Math.LN10) // the natural logarithm of 10: ~2.303
<p></p>
0.6931471805599453