Jenis Fungsi dalam JavaScript

Named function
Anonymous function
Immediately invoked function expression.
Anxious Alligator