Chapter VI

Functions

This chapter covers 15 topics. Work through them in order, or jump to the one you need.

Topics in this chapter

  1. 01 What is a Function?
  2. 02 Function Declaration
  3. 03 Function Expression
  4. 04 Calling Functions
  5. 05 Parameters
  6. 06 Arguments
  7. 07 Return Values
  8. 08 Default Parameters
  9. 09 Rest Parameters
  10. 10 Arrow Functions
  11. 11 Anonymous Functions
  12. 12 Callback Functions
  13. 13 Higher-Order Functions
  14. 14 Pure Functions
  15. 15 Recursion