Explore the different ways of declaring and invoking JavaScript functions, the hidden but powerful "subprograms" that power the backbone of your code.
Overview
Syllabus
Introduction
- Why are JavaScript functions essential?
- Using GitHub Codespaces with this course
- Using the exercise files and slides
- Using CodeSwing
- Mechanics of functions
- Expressions
- Arguments
- Hoisting and scope
- Methods
- Return
- Challenge: Creating repeatable data
- Solution: Creating repeatable data
- Arrow functions
- Constructors
- Modules
- Closures
- Recursion
- Asynchronous functions
- Challenge: Social media links
- Solution: Social media links
- Going further
Taught by
Ray Villalobos