Math.LOG10E

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

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

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

시도해보기

function getLog10e() {
  return Math.LOG10E;
}

console.log(getLog10e());
// Expected output: 0.4342944819032518
Property attributes of Math.LOG10E
쓰기 가능불가능
열거 가능불가능
설정 가능불가능

설명

LOG10EMath의 정적 속성이므로, 사용자가 생성한 Math 객체의 속성으로 접근할 수 없고 항상 Math.LOG10E를 사용해야 합니다. (Math는 생성자가 아닙니다)

예제

Math.LOG10E 사용하기

다음 함수는 e의 로그 10 값을 반환합니다.

js
function getLog10e() {
  return Math.LOG10E;
}

getLog10e(); // 0.4342944819032518

명세

Specification
ECMAScript® 2025 Language Specification
# sec-math.log10e

브라우저 호환성

Report problems with this compatibility data on GitHub
desktopmobileserver
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
Deno
Node.js
LOG10E

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

참조