call()改变this指向

var o={

name:'asd'

fn.call(o

 

 

此时this会指向o对象

posted @ 2021-12-09 14:38  ๑Secret  阅读(56)  评论(0)    收藏  举报