浏览 1956 次
精华帖 (0) :: 良好帖 (0) :: 隐藏帖 (1)
|
|
---|---|
作者 | 正文 |
发表时间:2010-12-06
最后修改:2010-12-06
function parent(){ this.thisFun = function(){ innerFun(); alert("thisFunction: " + this); } var innerFun = function(){ alert("innerFunction: " + this); } return thisFun; } parent()(); So easy,isn't it? What is the result? Tell us your answer. Don't try to execute the program before you submit your answer. 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |