About 11,200,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 · Most typically, it is used in object methods, where this refers to the object that the method is attached to, thus allowing the same method to be reused on different objects. The …

  3. What is JavaScript? - GeeksforGeeks

    Nov 29, 2024 · In this tutorial we will see some of the important concepts to start with JavaScript. JavaScript variables are containers for storing data in memory, allowing you to reference and …

  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. The JavaScript this Keyword Explained with Examples

    Jun 5, 2024 · In this article, you'll learn how to implicitly (based on context) and explicitly (using the call(), apply(), and bind() methods) determine the value of the this keyword. Here are the …

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

    Jan 31, 2017 · this is a keyword in JavaScript that is a property of an execution context. Its main use is in functions and constructors. The rules for this are quite simple (if you stick to best …

  7. 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: …

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

    Jan 31, 2023 · In JavaScript, the this keyword always refers to an object. The thing about it is that the object it refers to will vary depending on how and where this is being called. And there's a …

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

    Jun 3, 2024 · In JavaScript, the 'this' keyword stands as a identifier, bridging the gap between functions and their invoking context.

  10. JavaScript “This” Keyword and How to Implement It - Simplilearn

    Apr 12, 2025 · “This” keyword refers to an object that is executing the current piece of code. It references the object that is executing the current function. If the function being referenced is a …

  11. Some results have been removed
Refresh