Типы функций в JavaScript
Named function
Anonymous function
Immediately invoked function expression.
Anxious Alligator
Named function
Anonymous function
Immediately invoked function expression.