---
title: "Discussion on \"The Magic of this, call(), apply(), and bind()\" | Hashnode"
description: "Discussion on \"The Magic of this, call(), apply(), and bind()\". Timer, event listener, callback — pass a method and this gets lost. Learn bind, call, apply to fix it. Simple examples."
url: "https://hashnode.com/posts/the-magic-of-this-call-apply-and-bind/69ffbd7ee3eebc2e200565a0"
---

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

Discussion

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

Timer, event listener, callback — pass a method and this gets lost. Learn bind, call, apply to fix it. Simple examples.

May 9 · 5 min read · imohit1o1.hashnode.dev  
Read the article

-   [#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)
-   [#chai-code](https://hashnode.com/tag/chai-code)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#this-keyword](https://hashnode.com/tag/this-keyword)
-   [#this-keyword-in-javascript](https://hashnode.com/tag/this-keyword-in-javascript)
-   [#call-apply-and-bind-methods](https://hashnode.com/tag/call-apply-and-bind-methods)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Mohit Kumar](https://hashnode.com/@imohit159)

@imohit159 · Noida

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

Developer

Just a tech guy

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
