JavaScript Function Learning Path
Functions Learning Path
Learn functions in the right order:
- First the idea
- Then how to write them
- Then how they behave
Functions Learning Path
Learn functions in this order:
Advanced Functions Learning Path
Quick Start
Step 1
JavaScript Definitions
How functions are defined.
How they are used and how they are called.
Advanced
Step 2
The this Keyword
How this works (especially inside objects).
How this is decided by how it is called.
Advanced
Step 5
The bind() Method
Call a function with a chosen this.
Use bind() when you need a function to run later with the same this.
Advanced
Step 6
Self Invoked Expressions
Functions that run immediately (mostly historical, still useful sometimes).
Advanced
Step 7
JavaScript Closures
Functions that remember their scope
Learn how functions can remember variables after the outer function finishes.
Advanced