考察 this 的绑定规则、箭头函数和丢失 this。
四条规则
undefined
obj.fn()
const f=obj.fn
call/apply/bind
箭头函数
优先级:new > 显式 > 隐式 > 默认;严格模式/模块默认更安全。
题目与答案就在本页;收藏、批注和错题重练在应用内