Types de fonctions en javascript

Named function
Anonymous function
Immediately invoked function expression.
Anxious Alligator