Math.LOG10E
Math.LOG10E
속성은 e의 로그 10 값, 약 0.434의 값을 가집니다.
Property attributes of Math.LOG10E |
|
---|---|
Writable | no |
Enumerable | no |
Configurable | no |
설명
LOG10E
는 Math
의 정적 속성이므로, 사용자가 생성한 Math
객체의 속성으로 접근할 수 없고 항상 Math.LOG10E
를 사용해야 합니다. (Math
는 생성자가 아닙니다)
예제
Math.LOG10E
사용하기
다음 함수는 e의 로그 10 값을 반환합니다.
function getLog10e() {
return Math.LOG10E;
}
getLog10e(); // 0.4342944819032518
명세
Specification | Status | Comment |
---|---|---|
ECMAScript 1st Edition (ECMA-262) | Standard | Initial definition. Implemented in JavaScript 1.0. |
ECMAScript 5.1 (ECMA-262) The definition of 'Math.LOG10E' in that specification. |
Standard | |
ECMAScript 2015 (6th Edition, ECMA-262) The definition of 'Math.LOG10E' in that specification. |
Standard | |
ECMAScript (ECMA-262) The definition of 'Math.LOG10E' in that specification. |
Living Standard |
브라우저 호환성
BCD tables only load in the browser