06 2021 档案

摘要:1.普通函数this指向window; function fn() { console.log('普通函数的this' + this); } window.fn(); 2.对象的方法 this指向调用者O var o={ sayHi:function(){ console.log('对象方法的thi 阅读全文
posted @ 2021-06-29 00:33 YuanYF6 阅读(38) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示