About 6,190,000 results
Open links in new tab
  1. The JavaScript this Keyword - W3Schools

    In JavaScript, the this keyword refers to an object. The this keyword refers to different objects depending on how it is used: In an object method, this refers to the object. Alone, this refers to …

  2. this - JavaScript | MDN - MDN Web Docs

    Apr 10, 2025 · This means: If a function is called with this set to undefined or null , this gets substituted with globalThis . If the function is called with this set to a primitive value, this gets …

  3. What Does 'this' Mean in JavaScript? The this Keyword

    Jun 15, 2021 · When used in a function, the this keyword simply points to an object to which it is bound. It answers the question of where it should get some value or data from: …

  4. JavaScript this Keyword - GeeksforGeeks

    Jan 18, 2025 · In the context of an object method in JavaScript, the this keyword refers to the object itself, allowing access to its properties and methods within the method's scope. It …

  5. What does this symbol mean in JavaScript? - Stack Overflow

    How does the "this" keyword work, and when should it be used? (function(){…})() — IIFE (Immediately Invoked Function Expression) What is the purpose?, How is it called? Why does …

  6. What Does ‘this‘ Mean in JavaScript? The this Keyword Explained …

    Sep 9, 2024 · In this comprehensive guide, I‘ll explain what this means in JavaScript and how it works in different contexts with easy-to-understand examples. What is this? The this keyword …

  7. What Does ‘this‘ Mean in JavaScript? An In-Depth Look at the …

    We covered a ton of ground explaining JavaScript‘s this binding, including: The 4 core binding rules: default, implicit, explicit, and new; How this linking has evolved over time ; Visual code …

  8. JavaScript: What is the meaning of this? | Articles - web.dev

    Mar 8, 2021 · JavaScript's this is the butt of many jokes, and that's because, well, it's pretty complicated. However, I've seen developers do much-more-complicated and domain-specific …

  9. Understanding “this” in JavaScript - Educative

    What is this in JavaScript? The this keyword is a reference to the execution context of a function. Its value depends on how the function is called rather than where it is defined. This dynamic …

  10. Understanding the `this` Keyword in JavaScript | by Amit Badala

    Aug 8, 2023 · At its core, the `this` keyword in JavaScript refers to the object it belongs to. However, its value is determined by how a function is called, not where it is declared. Here’s a …

  11. Some results have been removed