会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
小龙小龙小龙
博客园
首页
新随笔
联系
订阅
管理
2017年5月8日
javascript中的undefined与is not defined
摘要: 1. var a; console.log(a); 这里打印的是undefined; 2. console.log(b); 这里浏览器会报错,b is not defined; 3. var c={}; consoloe.log(c.d); 这里也是打印undefined;这是访问因为对象的不存在属
阅读全文
posted @ 2017-05-08 11:43 小龙小龙小龙
阅读(3672)
评论(0)
推荐(0)
编辑
公告