1,450,000 results
Open links in new tab
  1. JavaScript this in Objects - W3Schools

    What is this? In JavaScript, the this keyword refers to an object. The this keyword refers to different objects depending on how it is …Read more

  2. JavaScript this Keyword - GeeksforGeeks

    Jun 23, 2026 · The this keyword in JavaScript dynamically refers to the object that is executing the current function. Its value …Read more

  3. this - JavaScript | MDN - MDN Web Docs

    May 22, 2026 · Most typically, it is used in object methods, where this refers to the object that the method is attached to, thus …Read more

  4. How to Use the "this" Keyword in JavaScript - freeCodeCamp.org

    Jan 31, 2023 · In this article we're going to talk about the THIS keyword in Javascript. This used to be a concept that confused me a …Read more

  5. JavaScript this in Functions - W3Schools

    In JavaScript, globalThis is a special built-in object that provides a standard way to access the global object, regardless of the …Read more

  6. What does "this" keyword mean in JavaScript - GeeksforGeeks

    Jul 23, 2025 · In JavaScript, the 'this' keyword stands as a identifier, bridging the gap between functions and their invoking context.

  7. Demystifying JavaScript this Keyword with Practical Examples

    This tutorial helps you master the JavaScript this keyword by showing you various practical examples.

  8. globalThis - JavaScript | MDN - MDN Web Docs

    Oct 26, 2026 · In Node.js none of these work, and you must instead use global. The this keyword could be used inside functions …Read more

  9. How does the "this" keyword work, and when should it be used?

    Jan 31, 2017 · When you use the JavaScript “this” keyword, it refers to the object to which function belongs. For example, inside of a …Read more

  10. What does 'var that = this;' mean in JavaScript? - Stack Overflow

    Nov 20, 2019 · In javascript when you define one function inside another this automatically gets set to the global scope. This can be …Read more