代码
1 <style>
2 body{font-size:20px;color:#222222;font-family:宋体;line-height:22px;}
3 </style>
4
5 <script>
6 document.write ("typeof(1): "+typeof(1)+"<br>");
7 document.write ("typeof(NaN): "+typeof(NaN)+"<br>");
8 document.write ("typeof(Number.MIN_VALUE): "+typeof(Number.MIN_VALUE)+"<br>")
9 document.write ("typeof(Infinity): "+typeof(Infinity)+"<br>")
10 document.write ("typeof(\"123\"): "+typeof("123")+"<br>")
11 document.write ("typeof(true): "+typeof(true)+"<br>")
12 document.write ("typeof(window): "+typeof(window)+"<br>")
13 document.write ("typeof(document): "+typeof(document)+"<br>")
14 document.write ("typeof(null): "+typeof(null)+"<br>")
15 document.write ("typeof(eval): "+typeof(eval)+"<br>")
16 document.write ("typeof(Date): "+typeof(Date)+"<br>")
17 document.write ("typeof(sss): "+typeof(sss)+"<br>")
18 document.write ("typeof(undefined): "+typeof(undefined)+"<br>")
19 </script>