JavaScript Reference/Javascript Properties/LN2

Материал из Web эксперт
Перейти к: навигация, поиск

"LN2" Example

   <source lang="javascript">
   

<html> <body> <button onclick="alert(Math.LN10);">Math.LN10</button> </body> </html>


     </source>
   
  


"LN2" is applied to

   <source lang="javascript">

+----------------+--------------------------------------------------------------+ | Applied_To |Math | +----------------+--------------------------------------------------------------+

     </source>
   
  


"LN2" Syntax and Note

   <source lang="javascript">

Note: Read-only property. Natural log for the number 2.

Syntax:

Math.LN2


     </source>