I have read about them and in my understanding, I have to take into consideration the following:
|Traditional Functions||Arrow Functions|
|No matter where you declare
and call the function,
Hoisting is the key.
|The order matters. Declare it
into a variable and then call it.
|Once you declare it,
you won't lose it.
|The code seems cleaner than a
|Once you override the variable
where the function lives, it's over.
So, I would like to put on the table this topic in order to clarify my mind a little bit more about it, and comprehend the best use case for each of them.