Table 16-2. Logarithmic functions Function Description Examples Math.log(x) Natural logarithm of x Math.log(Math.E) // 1 Math.log(17.5) // ~2.86 Math.log10(x).