---
title: "Discussion on \"JavaScript: 'this' in functions and methods.\" | Hashnode"
description: "Discussion on \"JavaScript: 'this' in functions and methods.\". Having a good grasp of 'this' cannot be avoided in JS, here's a simple breakdown of 'this' and its caveats."
url: "https://hashnode.com/posts/javascript-this-in-functions-and-methods/60e9b6c76d962b01bdecc67b"
---

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

Discussion

# [JavaScript: 'this' in functions and methods.](https://sohamparab.hashnode.dev/javascript-this-in-functions-and-methods?utm_source=hashnode&utm_medium=feed)

Having a good grasp of 'this' cannot be avoided in JS, here's a simple breakdown of 'this' and its caveats.

Jul 10, 2021 · 4 min read · sohamparab.hashnode.dev  
Updated Jul 26, 2021  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#functions](https://hashnode.com/tag/functions)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)

## Written by

[Soham Parab](https://hashnode.com/@soham-parab)

@soham-parab · Pune, India

  
[View profile](https://hashnode.com/@soham-parab)

Software Engineer | Frontend @ Unacademy

## Responses 1

Markdown supported · ⌘↵ to post

[Niranjan Borawake](https://hashnode.com/@niranjandb)

[Jul 11, 2021](https://hashnode.com/posts/javascript-this-in-functions-and-methods/60e9b6c76d962b01bdecc67b/comment/60eb2e346d962b01bded3293)

Soham, Quite a detailed explanation of `this` with appropriate examples, 👍.

Now, 🙂, here's an exercise to prove -

[blog.niranjanborawake.in/do-you-really-know-javas…](https://blog.niranjanborawake.in/do-you-really-know-javascripts-this-keyword-1)
