JavaScript Advanced
This section covers advanced function topics in JavaScript.
These chapters are best after you understand basic functions (calling, parameters, return values, expressions, and arrows).
Note
If you are not comfortable with JavaScript functions yet, start here:
Advanced Functions Learning Path
Quick Start
Step 2
The this Keyword
How this works (especially inside objects).
How this is decided by how it is called.
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.
Step 7
JavaScript Closures
Functions that remember their scope
Learn how functions can remember variables after the outer function finishes.