会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
allen_da
2016年11月20日
js提升机制(hoisting)
摘要: 转自:http://www.cnblogs.com/fcaa/p/5948438.html 从网上看到这么一段代码: var c = 2; function c(){ c = 22; console.log("c="+c); } c();//会报错,变量提升机制导致的(c is not a func
阅读全文
posted @ 2016-11-20 18:24 allen_da
阅读(132)
评论(0)
推荐(0)
编辑
导航
博客园
首页
新随笔
联系
订阅
管理
公告