Find the latest Anchor Resources Limited (AHR.AX) stock discussion in Yahoo Finance's forum. Share your opinion and gain insight from other stock traders and investors.
Foo函数的第一句getName = function () { alert (1); };是一句函数赋值语句,注意它没有var声明,所以先向当前Foo函数作用域内寻找getName变量,没有。再向当前函数作用域上层,即外层作用域内寻找是否含有getName变量,找到了,也就是第二问中的alert(4)函数,将此变量的值赋值为function(){alert(1)}。 此处实...