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

    When used in an object method, this refers to the object.

  2. this - JavaScript | MDN - MDN Web Docs

    May 22, 2026 · The this keyword in JavaScript refers to the context where a piece of code is supposed to run, typically used in object …

  3. JavaScript this Keyword - GeeksforGeeks

    Jun 23, 2026 · Applications of this in JavaScript The this keyword in JavaScript dynamically refers to the object that is executing the …

  4. JavaScript this in Functions - W3Schools

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

  5. Demystifying JavaScript this Keyword with Practical Examples

    Home » JavaScript Tutorial » Demystifying the JavaScript this Keyword Demystifying the JavaScript this Keyword Summary: In this …

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

    Jan 31, 2017 · In Object Oriented languages, the this keyword refers to the current instance of the class. In JavaScript the value of …

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

  8. JavaScript - this Keyword - Online Tutorials Library

    In JavaScript, the 'this' keyword contains the reference to the object. It represents the context of the function or current code. It is …

  9. JavaScript this - Programiz

    In this tutorial, you will learn about JavaScript's this keyword with the help of examples.

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

    Nov 20, 2019 · In a JavaScript file I saw: function Somefunction(){ var that = this; ... } What is the purpose of declaring that and …