Math.log1p

Returns the natural logarithm of 1 + value.

Syntax

log1p(value)

Parameters

Return value

A number.

Examples

Math.log1p(Math.E-1)
1