Syllabus

  1. 01FunctionsPackage code into reusable functions: declare and call them, pass in arguments, set default parameters, return results, combine helper functions, and write the same ideas as function expressions and arrow functions.9 lessons
    1. 01Declaring and Calling Functions
    2. 02Parameters and Arguments
    3. 03Default Parameters
    4. 04Returning Values
    5. 05Helper Functions
    6. 06Function Expressions
    7. 07Arrow Functions
    8. 08Project: Bill Splitter
    9. 09Functions quiz
  2. 02ScopeLearn where variables can be used: the global scope, block scope inside functions and if statements, why too many global variables cause bugs, and how to keep each variable in the smallest scope it needs.6 lessons
    1. 01Blocks and Global Scope
    2. 02Block Scope
    3. 03Scope Pollution
    4. 04Practice Good Scoping
    5. 05Project: Scope Bug Hunt
    6. 06Scope quiz