đ Key Learning Outcomes
- Understand how JavaScript implicitly sets the this context.
- Learn how to set the this value manually.
- Explore the call-site of a function and its impact on the this value.
- Create functions that are always tied to a specific this context.
- Comprehend how this behaves in arrow functions and classes.
đ¨âđĢ About the Course
This course delves into the intricacies of JavaScript's this keyword, a common source of confusion for developers. Marius Schulz will guide you through the various ways this can change values and how to work with it effectively. By the end, you'll have a solid grasp of this mechanism in JavaScript.
đ¯ Target Audience
- Developers looking to deepen their understanding of JavaScript's this keyword.
- Those who want to eliminate confusion around how this is handled in different contexts.
â Requirements
- Basic knowledge of JavaScript.
- Familiarity with functions and object-oriented programming concepts.
đ Course Content
- Explore this in the Global Context.
- Understand this in Function Calls.
- Learn about this in Constructor Calls.
- Dive into this in Method Calls.
- Discover how to specify this using .call() or .apply().
- Explore hard-binding a function's this value with the .bind() method.
- Capture this with an Arrow Function.
- Understand this in Class Bodies.
Drop a comment
Understand JavaScript's this Keyword in Depth by Marius Schulz
Log in to leave a feedback
Loginđ Psst! Interested in More JavaScript Courses?

Building Custom Data VisualizationsVideo
by Shirley Wu
âŗ Duration: 4.5 hours
đ¤ Price: Subscription
đ§âđģ Learning Platform: Frontend Masters

The Hard Parts of Asynchronous JavaScriptVideo
by Will Sentance
đšī¸ Levels: đ Advanced
âŗ Duration: 5 hours
đ¤ Price: Subscription
đ§âđģ Learning Platform: Frontend Masters

Learn JavaScript: Best PracticesWrittenInteractive
by Kenny Lin
đšī¸ Levels: đą Beginner
âŗ Duration: 1 hours
đ¤ Price: Free
đ§âđģ Learning Platform: Codecademy