Es6-math-property-ln2

提供:Dev Guides
2020年6月23日 (火) 08:04時点におけるMaintenance script (トーク | 投稿記録)による版 (Imported from text file)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

ES6-Math-LN2プロパティ

約0.693である2の自然対数を返します。

構文

Math.LN2

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

出力

0.6931471805599453