0

Pls what is the difference between arrow function and regular function ??

25th May 2020, 6:47 PM
Shola Micheal
Shola Micheal - avatar
3 Réponses
+ 1
the main difference is that “function” supports procedural and object oriented programming, so you can use the “this” keyword with it, whereas arrow functions is geared towards functional programming, so doesnt support “this” keyword.
25th May 2020, 8:12 PM
Logomonic Learning
Logomonic Learning - avatar
0
Thanks
25th May 2020, 8:49 PM
Shola Micheal
Shola Micheal - avatar