JavaScript 中的 Math.LOG10E 属性

htmljavascriptweb developmentfront end technology

Math 对象的 LOG10E 属性表示以 10 为底的对数值。

语法

其语法如下

Math.LOG10E

示例

<html>
<head>
   <title>JavaScript 示例</title>
</head>
<body>
   <script type="text/javascript">
      var result = Math.LOG10E;
      document.write(result);
   </script>
</body>
</html>

输出

0.4342944819032518

相关文章