Front-end (Primary) - 재배치중/JavaScript

Arrow function - key point

실버사서 Silver Librarian 2021. 9. 21. 18:10

1. Arrow function and function is different.

2. this.whatever does not redefine. Function redefines it.

3. Hence, arrow function's this.whatever may works as the global.