---
title: "Discussion on \"Understanding the this Keyword in JavaScript\" | Hashnode"
description: "Discussion on \"Understanding the this Keyword in JavaScript\". Learn how this works in JavaScript by understanding how its value changes based on who is calling the function, with simple and practical examples."
url: "https://hashnode.com/posts/understanding-the-this-keyword-in-javascript/6a00baf3e3eebc2e20a85084"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Understanding the this Keyword in JavaScript](https://withprathamkumar.hashnode.dev/understanding-the-this-keyword-in-javascript?utm_source=hashnode&utm_medium=feed)

Learn how this works in JavaScript by understanding how its value changes based on who is calling the function, with simple and practical examples.

May 10 · 4 min read · withprathamkumar.hashnode.dev  
Read the article

-   [#this-keyword](https://hashnode.com/tag/this-keyword)
-   [#this-keyword-in-javascript](https://hashnode.com/tag/this-keyword-in-javascript)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chaiaurcode](https://hashnode.com/tag/chaiaurcode)
-   [#chaicohort](https://hashnode.com/tag/chaicohort)
-   [#chaicode-webdev-cohort-2026](https://hashnode.com/tag/chaicode-webdev-cohort-2026)

## Written by

[Pratham Kumar](https://hashnode.com/@devprathamkumar)

@devprathamkumar

  
[View profile](https://hashnode.com/@devprathamkumar)

Engineering solutions through code.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
