- 博客(1)
- 资源 (2)
- 收藏
- 关注
转载 JavaScript js闭包所用的场合以及优缺点
转载:http://blog.sina.com.cn/s/blog_50197c290101f870.html 先上段代码: //函数a function a() { var i=0; //函数b function b() { alert(++i); } return b;
2016-06-01 10:40:44 343
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
转载:http://blog.sina.com.cn/s/blog_50197c290101f870.html 先上段代码: //函数a function a() { var i=0; //函数b function b() { alert(++i); } return b;
2016-06-01 10:40:44 343
TA创建的收藏夹 TA关注的收藏夹
TA关注的人