简介JavaScript中Math.LOG10E属性的使用

内容摘要
这将返回10为底的E的值,大约是 0.434.

语法


Math.LOG10E



例子:


<html>
<head>
<title>JavaScript Math LOG10E Property</title>
</head>
<body>
<script type="text
文章正文

 这将返回10为底的E的值,大约是 0.434.
语法

1
Math.LOG10E

例子:

1
2
3
4
5
6
7
8
9
10
11
<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>

这将产生以下结果:

1
Property Value is : 0.4342944819032518


代码注释

作者:喵哥笔记

IDC笔记

学的不仅是技术,更是梦想!