Overview
Explore the intricacies of the 'this' keyword in JavaScript through this comprehensive tutorial for beginners. Delve into the global scope usage, function methods, and binding techniques. Learn about Function.bind, Function.call, and Function.apply. Understand how 'this' behaves inside constructor functions, callback functions, and arrow functions. Gain valuable insights from ColorCode's "10 Things JS Developers Should Know" series, presented by Sina Jazayeri. Follow along with code examples and practical demonstrations to master this fundamental yet often confusing aspect of JavaScript programming.
Syllabus
Intro.
THIS in Global scope.
THIS inside functions (methods).
Function.bind.
Function.call.
Function.apply.
THIS inside Constructor functions.
THIS inside callback functions.
THIS inside arrow functions.
Conclusion.
Taught by
ColorCode