会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
coober
前端开发者手册:https://dwqs.gitbooks.io/frontenddevhandbook/content/
博客园
首页
新随笔
联系
订阅
管理
05 2017 档案
js检测判断null、undefined与NaN
摘要:1.判断undefined: 说明:typeof 返回的是字符串,有六种可能:"number"、"string"、"boolean"、"object"、"function"、"undefined" 2.判断null: 3.判断NaN: 说明:如果把 NaN 与任何值(包括其自身)相比得到的结果均是
阅读全文
posted @
2017-05-15 14:42
coober
阅读(996)
评论(0)
推荐(0)
公告