this keyword using arrow function inside an object differ from using normal function

后端 未结 0 1674
天涯浪人
天涯浪人 2021-02-06 06:34

Can someone please explain for me the following:

const obj1 = {
  a: () => console.log(this)
}

"this" keyword here will refer to the

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