Methods, this, and Function Context
Predict how a function receives this and avoid losing method context in callbacks.
Lesson introduction
For regular functions, this is determined by how the function is called. Arrow functions do not create their own this and instead close over the surrounding value.
Where this fits
This lesson builds one part of the path from language fundamentals to complete browser applications.
What you will build
Build an object with validated methods, then demonstrate method extraction and a deliberate bound fix.
You will first study the underlying rule, then trace worked code, repair a mistake, and create an independent solution.