JavaScript Math.LN10属性
Math对象的LN10属性表示对数值10。
语法
其语法如下
Math.LN10
示例
<html>
<head>
<title>JavaScript Example</title>
</head>
<body>
<script type="text/javascript">
var data = Math.LN10;
document.write(data);
</script>
</body>
</html>输出结果
2.302585092994046