会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
红桃七716
博客园
园子
首页
新随笔
联系
管理
订阅
2019年9月16日
typeof与instanceof比较+undefined与null各种值的相互比较
摘要: 1、typeof:返回一个字符串 根据typeof判断对象 表达式 返回值 typeof undefined 'undefined' typeof true 'boolean' typeof 123 'number' typeof "abc" 'string' typeof function() {
阅读全文
posted @ 2019-09-16 22:30 红桃七716
阅读(562)
评论(0)
推荐(0)
公告