Math.log()

Term side of the Card
Topic: Math
Unit title: Math.log()
Categories: Method
Explanation side of the Card

Explanation: The static method that calculates the natural logarithm of a given number, where `e` (Euler's number), approximately 2.718, is the base. For example, `Math.log(Math.E)` returns 1, as `e` to the power of 1 is `e`.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1
  • The safari browser supports this feature starting from version 1
Availability: