Lowest price ever! Learn Generative AI for 48% less!
Get my discount0
Pls what is the difference between arrow function and regular function ??
3 Answers
+ 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.
0
Thanks