它返回10的自然对数,大约为2.302。
Math.LN10
<html> <head> <title>JavaScript Math LN10 Property</title> </head> <body> <script type="text/javascript"> var property_value=Math.LN10 document.write("Property Value is : " + property_value); </script> </body> </html>
运行上面代码输出
Property Value is : 2.302585092994046
祝学习愉快!(内容编辑有误?请选中要编辑内容 -> 右键 -> 修改 -> 提交!)
Python实战 · 从0到1搭建直播视频平台 -〔Barry〕