• Returns the natural logarithm of x. If base is provided, returns the logarithm of x with respect to base, which is equivalent to log(x) / log(base)

    Parameters

    • x: number
    • Optional base: number

    Returns number