Home >Web Front-end >JS Tutorial >Introduction to the use of Math.LOG10E attributes in JavaScript_Basic knowledge
This will return the value of E in base 10, which is approximately 0.434.
Grammar
Math.LOG10E
Example:
<html> <head> <title>JavaScript Math LOG10E Property</title> </head> <body> <script type="text/javascript"> var property_value = Math.LOG10E document.write("Property Value is : " + property_value); </script> </body> </html>
This will produce the following results:
Property Value is : 0.4342944819032518