240 发简信
IP属地:北京
  • JS高级—call(),apply(),bind()

    call() 介绍 通过提供一个新的this值给当前调用的函数/方法,从而改变this指向。 语法 thisArg:当前调用函数this指向的对象arg1, arg2:传递的...