JavaScript Math.log1p()
JavaScript Math.log1p()
The Math.log1p() method is used to return the natural logarithm to the base E of 1 + a number.
Syntax:-
Its syntax is:- Math.log1p(x)
Return:-
Its return is:- number representing the natural logarithm to the base E of 1 + the number
Further Explanation:-
Parameter | Description |
---|---|
x | Required. A number. |