A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.cdn.mozilla.net/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/LOG10E below:

Math.LOG10E - JavaScript | MDN

Math.LOG10E

Baseline Widely available

The Math.LOG10E static data property represents the base 10 logarithm of e, approximately 0.434.

Try it
function getLog10e() {
  return Math.LOG10E;
}

console.log(getLog10e());
// Expected output: 0.4342944819032518
Value 𝙼𝚊𝚝𝚑.𝙻𝙾𝙶𝟷𝟶𝙴 = log 10 ( e ) ≈ 0.434 \mathtt{Math.LOG10E} = \log_{10}(\mathrm{e}) \approx 0.434 Writable no Enumerable no Configurable no Description

Because LOG10E is a static property of Math, you always use it as Math.LOG10E, rather than as a property of a Math object you created (Math is not a constructor).

Examples Using Math.LOG10E

The following function returns the base 10 logarithm of e:

function getLog10e() {
  return Math.LOG10E;
}

getLog10e(); // 0.4342944819032518
Specifications Browser compatibility See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4