摘要: 普通函数 谁调用了函数,那么这个函数中的 this 就指向谁. let myFun = function() { console.log(this); } let obj = { name: "赵云", myFun: function() { console.log(this); } } // 这里 阅读全文
posted @ 2022-03-02 17:19 太轻描淡写了 阅读(199) 评论(0) 推荐(0) 编辑