LN2 수학 속성 개체는 2의 로그 값을 나타냅니다.
구문
구문은 다음과 같습니다.
Math.LN2
예시
<html> <head> <title>JavaScript Example</title> </head> <body> <script type="text/javascript"> var data = Math.LN2; document.write(data); </script> </body> </html>
출력
0.6931471805599453
LN2 수학 속성 개체는 2의 로그 값을 나타냅니다.
구문은 다음과 같습니다.
Math.LN2
<html> <head> <title>JavaScript Example</title> </head> <body> <script type="text/javascript"> var data = Math.LN2; document.write(data); </script> </body> </html>
0.6931471805599453