---
title: "Discussion on \"Understanding the \"this\" keyword in JavaScript\" | Hashnode"
description: "Discussion on \"Understanding the \"this\" keyword in JavaScript\". In JavaScript the ‘this’ keyword is one of most widely used keyword and is still quite confusing for most beginners. The value of 'this' is decided based on how the code is being executed or called. The ‘this’ keyword is the object that the function(..."
url: "https://hashnode.com/posts/understanding-the-this-keyword-in-javascript/62cdd0fe24f934c81698582c"
---

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

Discussion

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

In JavaScript the ‘this’ keyword is one of most widely used keyword and is still quite confusing for most beginners. The value of 'this' is decided based on how the code is being executed or called. The ‘this’ keyword is the object that the function(...

Jul 12, 2022 · 10 min read · analog.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#newbie](https://hashnode.com/tag/newbie)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)

## Written by

[Oluwabamise Olatunji](https://hashnode.com/@Analog)

@Analog · Ile Ife, Nigeria

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

MERN Stack Developer| WordPress | Tech Blogger | Web3 Enthusiast

MERN Stack Developer| WordPress | Tech Blogger | Web3 Enthusiast | Big football fan

## Responses 2

Markdown supported · ⌘↵ to post

[Lynn Joseph](https://hashnode.com/@lynnjoseph)

[Jul 13, 2022](https://hashnode.com/posts/understanding-the-this-keyword-in-javascript/62cdd0fe24f934c81698582c/comment/62ce89a2fe5b55d5da426a88)

Good Article. Informative. You should add **globalThis** property to this article.

[Oluwabamise Olatunji](https://hashnode.com/@Analog)

[Jul 13, 2022](https://hashnode.com/posts/understanding-the-this-keyword-in-javascript/62cdd0fe24f934c81698582c/comment/62ce89a2fe5b55d5da426a88#reply-62cebb6afe5b55d5da427357)

thanks I will work on that

[Hunter Trammell](https://hashnode.com/@trammellwebdev)

[Jul 12, 2022](https://hashnode.com/posts/understanding-the-this-keyword-in-javascript/62cdd0fe24f934c81698582c/comment/62cde0bf24f934c816985a01)

This was a very insightful article, thank you!

[Oluwabamise Olatunji](https://hashnode.com/@Analog)

[Jul 13, 2022](https://hashnode.com/posts/understanding-the-this-keyword-in-javascript/62cdd0fe24f934c81698582c/comment/62cde0bf24f934c816985a01#reply-62cebb93c88cd0d5ff7016c0)

thanks for the kind words
