Syllabus

  1. 01FunctionsSee why functions need types, annotate parameters, make them optional or give them defaults, let TypeScript infer return types or declare them yourself, use void for functions that return nothing, and document functions with JSDoc.10 lessons
    1. 01Plain JavaScript First
    2. 02Parameter Type Annotations
    3. 03Optional Parameters
    4. 04Default Parameters
    5. 05Inferred Return Types
    6. 06Explicit Return Types
    7. 07The void Return Type
    8. 08Documenting Functions
    9. 09Project: Recipe Scaler
    10. 10Quiz: Functions