Difference between reference of “this” inside setTimeout in a object method using traditional “function” and arrow function

后端 未结 0 1897
慢半拍i
慢半拍i 2021-02-14 22:01

Can someone explain me the difference here:

A) Traditional function in "setTimeout" in an object method.

    var count = 20;
    var obj = {
             


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题