案例:javascript案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<html>
2
<body>
3
4
<script type="text/javascript">
5
6
document.write(Math.log(2.7183) + "<br />")
7
document.write(Math.log(2) + "<br />")
8
document.write(Math.log(1) + "<br />")
9
document.write(Math.log(0) + "<br />")
10
document.write(Math.log(-1))
11
12
</script>
13
14
</body>
15
</html>
16