作用域链(scope chain)和原型链(prototype chain)

来源:互联网 发布:大数据龙头公司 编辑:程序博客网 时间:2024/05/17 22:54

locate the object in the scope chain, then proceed up the object’s prototype chain until the property is found, 




http://davidshariff.com/blog/javascript-scope-chain-and-closures/