JavaScript Advanced Functions
Advanced Functions Study Path
These chapters are best after you understand basic functions (calling, parameters, return values, expressions, and arrows).
If you are not comfortable with JavaScript functions yet, start here:
Step 1Advanced
JavaScript Definitions
- Function declarations
- Function Expression
- Arrow Functions
- Function Constructors
Step 2Advanced
JavaScript Callbacks
A JavaScript callback is a function passed as an argument to another function, which is then executed (or "called back") at a later point in time to complete a specific task.
Step 3Advanced
The this Keyword
How this works (especially inside objects).
How this is decided by how it is called.
Step 6Advanced
The bind() Method
Call a function with a chosen this.
Use bind() when you need a function to run later with the same this.
Step 8Advanced
JavaScript Closures
Functions that remember their scope
Learn how functions can remember variables after the outer function finishes.