---
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\". What is this?\nthis = \"Who called this function?\"\nSimple as that.\nconst person = {\n  name: \"Alice\",\n  greet: function() {\n    console.log(\"Hello, I'm \" + this.name);\n  }\n};\n\nperson.greet(); // \"Hello,"
url: "https://hashnode.com/posts/the-magic-of-this-call-apply-and-bind-in-javascript/69b6827205c006164cfee794"
---

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

Discussion

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

What is this? this = "Who called this function?" Simple as that. const person = { name: "Alice", greet: function() { console.log("Hello, I'm " + this.name); } }; person.greet(); // "Hello,

Mar 15 · 8 min read · techsorcerer.hashnode.dev  
Read the article

## Written by

[Pratham Shah](https://hashnode.com/@pshahlab)

@pshahlab · India

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
