Understand JavaScript’s this Keyword in Depth
Learn JavaScript’s keyword and understand its mechanism in-depth with this course. From the global context to method calls, you’ll master how this changes its values. Discover how libraries use use strict and how arrow functions take the outer execution context’s this. Over 8 lessons, you’ll gain intuitive and practical knowledge. Say goodbye to frustration and make JavaScript more useful in your day-to-day. Explore topics like this in function calls, constructor calls, and more. Hard-bind a function’s this value and capture it with an arrow function. Enroll now!
JavaScript’s
keyword is a source of confusion for new and experienced developers alike. It can be frustrating if, for some reason,
doesn’t point to the context that was intended.
This course will help you understand JavaScript’s
mechanism in-depth. Marius will take us through all of the ways
will change its values, from why many libraries use “use strict” to how arrow functions take its outer execution context’s
.
Over 8 lessons, you’ll learn:
Following the course,
will feel less frustrating, more intuitive, and far more useful in your day-to-day.
Course Content
this in the Global Context
this in Function Calls
this in Constructor Calls
this in Method Calls
Specify this using .call() or .apply()
Hard-Bind a Function’s this Value with the .bind() Method
Capture this with an Arrow Function
this in Class Bodies