Calculate the natural logarithm (base e) of each element in an array.
> log([1, Math.E, Math.E * Math.E])[0, 1, 2] Copy
> log([1, Math.E, Math.E * Math.E])[0, 1, 2]
The array of numbers.
An array with the natural logarithm of each input element.
Calculate the natural logarithm (base e) of each element in an array.
Example