Javascript Log() Function

The log() function of math object returns the natural logarithm (base e) of a given number. Use it for example to get natural logarithm (base e) of a given number.

Syntax

Javascript Log() Function Example