Find out the value of natural logarithm of 10 in JavaScript

Description

The following code shows how to find out the value of natural logarithm of 10.

Example


console.log(Math.LN10);

The code above generates the following result.





















Home »
  Javascript »
    Javascript Reference »




Array
Canvas Context
CSSStyleDeclaration
CSSStyleSheet
Date
Document
Event
Global
History
HTMLElement
Input Element
Location
Math
Number
String
Window