摘要: 匿名函数中(function(){}).call(this) 中的.call(this) 有什么用? 我们都知道,.call()可以改变函数执行时的context,即this的指向,源码中的.call(this) 主要就是,把当前的context传递给匿名函数。 So, if for whateve 阅读全文
posted @ 2016-12-29 20:15 地下城主 阅读(1098) 评论(0) 推荐(0) 编辑