Module 5 · Functions: Declarations, Arrows, Defaults and Rest
Cheat Sheet: Functions on One Page
ProReading
Kenji keeps this page open in a second window while he solves the module's problems. Nothing here is new: every row comes from lessons 01 to 06, so a row you do not recognise points you back to its lesson.
Checking what this lesson needs for you…
What is inside Cheat Sheet: Functions on One Page
- The three spellings and the call
- Parameters, arguments and return
- Defaults, rest and spread
- Functions as values
- Recursion: the template and its cost
- Which spelling: the flowchart and the chart
- The stack in numbers
- The bug gallery in one line each
- Two programs that use the page
Module test
Ten questions on this module. Pass at 70%, and you can take it as many times as you like.
Take the module test