案例:javascript案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<html>
2
<body>
3
4
<script type="text/javascript">
5
6
document.write(parseInt("10") + "<br />") 
7
document.write(parseInt("19",10) + "<br />") 
8
document.write(parseInt("11",2) + "<br />") 
9
document.write(parseInt("17",8) + "<br />") 
10
document.write(parseInt("1f",16) + "<br />") 
11
document.write(parseInt("010") + "<br />")
12
document.write(parseInt("He was 40") + "<br />")
13
14
</script>
15
16
</body>
17
</html>
18