Function types

  • standard or named fucntion
  • Anonymous function
  • Function expression or assign function in variable
  • Higher order fucntion or first class function
  • Callback fucntion
  • Variadic function
  • Init function - you cannot call this, Computer calls it
  • Closure - close over
  • Defer function - last in first out
  • Receiver function or method
  • IIFE- Immediately invoked function expression