explain this keyword in JavaScript
2022年5月1日小于 1 分钟
this
keyword in JavaScript
explain Question
this
behaves differently in different situations, you should clearly list up all the cases, from common cases to rare ones.
if you are not familiar with it yet, please read this article from MDN first.
It would help if you clearly state the case of Arrow Function