Math.LOG10E

Math.LOG10E 속성은 e의 로그 10 값, 약 0.434의 값을 가집니다.

Math.LOG10E=log10(e)0.434\mathtt{\mi{Math.LOG10E}} = \log_10(e) \approx 0.434

Property attributes of Math.LOG10E
Writable no
Enumerable no
Configurable no

설명

LOG10EMath의 정적 속성이므로, 사용자가 생성한 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 Latest Draft (ECMA-262)
The definition of 'Math.LOG10E' in that specification.
Draft  

브라우저 호환성

Update compatibility data on GitHub
DesktopMobileServer
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung InternetNode.js
LOG10EChrome Full support YesEdge Full support YesFirefox Full support 1IE Full support YesOpera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support 4Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yesnodejs Full support Yes

Legend

Full support  
Full support

참조