Parameters or Arguments
There are no parameters or arguments for the Math.LN2 property.
The Math.LN2 property returns the mathematical regular loge2 which has an approximate price of 0.6931471805599453.
The Math.LN2 property is a property of the Math object and now not a math function. However, we have protected the Math.LN2 property inside our JS Math Functions area due to the fact you will most likely use this property in conjunction with the Math features observed in this section.
In this example, we have invoked the Math.LN2 property using the Math class.
We have written the output of the Math.LN2 property to the internet browser console log, for demonstration purposes, to show what the Math.LN2 property returns.
The following will be output to the internet browser console log:
In this example, the Math.LN2 property back a fee of 0.6931471805599453 which is the cost of the mathematical constant loge2. This is the value of the natural logarithm of two