摘要: ##全局 全局下指向window console.log(this)//Window ##函数内 普通函数的this指向window // 1.普通函数的this指向window function fn1() { console.log('fn1', this) } fn1()//Window 箭头 阅读全文
posted @ 2022-05-20 18:40 qiao101 阅读(34) 评论(0) 推荐(0)