About 1,160,000 results
Open links in new tab
  1. 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 methods.

  2. JavaScript this in Objects - W3Schools

    W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.

  3. JavaScript this Keyword - GeeksforGeeks

    May 6, 2026 · Applications of this in JavaScript The this keyword in JavaScript dynamically refers to the object that is executing the current function. Its value changes based on how and where it is used, …

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

  5. Demystifying JavaScript this Keyword with Practical Examples

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

  6. JavaScript this - w3schools.am

    The call() and apply() methods are predefined JavaScript methods. They can both be used to call an object method with another object as argument. You can read more about call() and apply() later in …

  7. JavaScript this - Programiz

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

  8. 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 this is determined by the invocation context of function (context.function()) …

  9. JavaScript ‘this’ Keyword Explained with Simple Examples

    Sep 25, 2025 · Learn how the JavaScript ‘this’ keyword works with simple examples. This beginner’s guide explains global, function, object, arrow function, and class contexts. Introduction If you’ve …

  10. JavaScript 'this' Keyword Explained: How It Works and When to Use It ...

    Dec 14, 2025 · The `this` keyword is one of JavaScript’s most powerful yet misunderstood concepts. For beginners and even experienced developers, its dynamic behavior can lead to confusion and bugs. …