ES6 - Propriété Math-LN2
Il renvoie le logarithme népérien de 2 qui est d'environ 0,693.
Syntaxe
Math.LN2
Exemple
console.log(Math.LN10) // the natural logarithm of 10: ~2.303
Production
0.6931471805599453
Il renvoie le logarithme népérien de 2 qui est d'environ 0,693.
Math.LN2
console.log(Math.LN10) // the natural logarithm of 10: ~2.303
0.6931471805599453