---
title: "Discussion on \"The Magic of this(), call(), apply(), and bind() in JavaScript\" | Hashnode"
description: "Discussion on \"The Magic of this(), call(), apply(), and bind() in JavaScript\". Understanding how JavaScript decides who is calling a function."
url: "https://hashnode.com/posts/the-magic-of-this-call-apply-and-bind-in-javascript/69abd3120bca1a3976913e05"
---

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

Discussion

# [The Magic of this(), call(), apply(), and bind() in JavaScript](https://array-javascript-piyush.hashnode.dev/the-magic-of-this-call-apply-and-bind-in-javascript?utm_source=hashnode&utm_medium=feed)

Understanding how JavaScript decides who is calling a function.

Mar 7 · 4 min read · array-javascript-piyush.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chaiaurcode](https://hashnode.com/tag/chaiaurcode)
-   [#chaicode-webdev-cohort-2026](https://hashnode.com/tag/chaicode-webdev-cohort-2026)
-   [#apply-function-in-javascript](https://hashnode.com/tag/apply-function-in-javascript)
-   [#bind-function-in-javascript](https://hashnode.com/tag/bind-function-in-javascript)
-   [#call-function-in-javascript](https://hashnode.com/tag/call-function-in-javascript)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Piyush](https://hashnode.com/@piyushkumar70)

@piyushkumar70

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
