摘要: https://zhuanlan.zhihu.com/p/75129004?from_voters_page=true 阅读全文
posted @ 2020-06-17 21:17 TTtttt5 阅读(90) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/chen-jie/p/JavaScript-Entrust.html 阅读全文
posted @ 2020-06-17 17:01 TTtttt5 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 1.箭头函数有作用域(词法作用域),词法作用域简单来讲就是,一切变量(包括this)都根据作用域链来查找。 2.箭头函数中的this因为绑定了词法作用域,所以始终指向自身外的第一个this(由于自身没有声明this,所以会去作用域链上找this),也就是始终等于调用它的函数的this(以为这个thi 阅读全文
posted @ 2020-06-17 14:02 TTtttt5 阅读(1856) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/KlausLily/article/details/103046377 const baseOperateController = function() { // 缓存对象 const cache = {}; // 基础函数 return function 阅读全文
posted @ 2020-06-17 11:58 TTtttt5 阅读(144) 评论(0) 推荐(0) 编辑