Language Reference log Method


Description

Computes the natural log of the argument passed to it.

Syntax

var varName = Math.log( number )

Return Value

The natural log of number. The base is e.

Arguments

number: A numeric value for which the natural log is desired.