摘要: 1.判断undefined: 说明:typeof 返回的是字符串,有六种可能:"number"、"string"、"boolean"、"object"、"function"、"undefined" 2.判断null: 3.判断NaN: 说明:如果把 NaN 与任何值(包括其自身)相比得到的结果均是 阅读全文
posted @ 2018-09-13 11:35 AlanTao 阅读(12807) 评论(0) 推荐(1)