zoukankan      html  css  js  c++  java
  • javascript typeof 小结

    代码
    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>
  • 相关阅读:
    Luogu P1962 斐波那契数列
    Luogu P2370 yyy2015c01的U盘
    Luogu P2678跳石头
    POJ3111 K Best
    表单内容相关操作
    框架集与框架.
    spring aop的使用
    sql查询的优化(六)
    mysql数据库视图(五)
    mysql数据库索引(四)
  • 原文地址:https://www.cnblogs.com/walkerwang/p/1729090.html
Copyright © 2011-2022 走看看