七段

无论怎样,请让我先感谢一下国家。

BlogJava 首页 新随笔 联系 聚合 管理
  35 Posts :: 2 Stories :: 7 Comments :: 0 Trackbacks
1    c();
2             //a();//runtime error: a is not a function
3             //b();//runtime error: b is not defined
4             function c(){};//c will be defined and assigned value when pre-compile
5             var a = function b(){ //b will be delete, a will be defined when pre-compile, a assigned value when runtime
6             };
7             a();
posted on 2009-12-11 16:44 sevenduan 阅读(608) 评论(0)  编辑  收藏 所属分类: JavaScript

只有注册用户登录后才能发表评论。


网站导航: