案例:javascript案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<html>
2
<body>
3
4
<script type="text/javascript">
5
var x=(-Number.MAX_VALUE)*2
6
if (x==Number.NEGATIVE_INFINITY)
7
{
8
document.write("Value of x: " + x);
9
}
10
</script>
11
12
</body>
13
</html>
14