晴明的博客园 GitHub      CodePen      CodeWars     
摘要: call、apply 、函数执行的本质 严格模式下,fn 里的 this 就是 call 的第一个参数,也就是 undefined。 在非严格模式下, call 传递的第一个参数如果是 undefined 或者 null, 那 this 会自动替换为 Window 对象 more xx.yy可以理解 阅读全文
posted @ 2018-05-02 21:49 晴明桑 阅读(132) 评论(0) 推荐(0) 编辑