JavaScript
Understanding the `this` Keyword in JavaScript: What It Is and How Calling Context Controls It
Learn how the `this` keyword works in JavaScript — global scope, object methods, callbacks, and arrow functions — with clear runnable examples.
5 articles
Learn how the `this` keyword works in JavaScript — global scope, object methods, callbacks, and arrow functions — with clear runnable examples.
Why callbacks exist in JavaScript, how they work with async code like timers and file reads, and where nesting them starts to hurt.
How this works in JavaScript functions and objects, and how call(), apply() and bind() let you control it, with a side-by-side comparison and exercises.
Function declarations vs function expressions in JavaScript: syntax, hoisting, when to use each, and a quick look at arrow functions.
An arrow function is just a shorter, more modern way to write a function in JavaScript. That's honestly all it is. It was introduced in ES6 (2015) and