---
title: "Discussion on \"JavaScript call(), apply() and bind() methods\" | Hashnode"
description: "Discussion on \"JavaScript call(), apply() and bind() methods\". In this article, I briefly discuss the bind(), call() and apply() methods in JavaScript.\nThese methods are available to every function in JavaScript and are used to control what this in a function points to. Let's see the following examples.\nbind()\nT..."
url: "https://hashnode.com/posts/javascript-call-apply-and-bind-methods/5d44e1a235898f13721d430c"
---

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

Discussion

# [JavaScript call(), apply() and bind() methods](https://erons.hashnode.dev/javascript-call-apply-and-bind-methods?utm_source=hashnode&utm_medium=feed)

In this article, I briefly discuss the bind(), call() and apply() methods in JavaScript. These methods are available to every function in JavaScript and are used to control what this in a function points to. Let's see the following examples. bind() T...

Aug 3, 2019 · erons.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#oop](https://hashnode.com/tag/oop)
-   [#programming](https://hashnode.com/tag/programming)
-   [#tech](https://hashnode.com/tag/tech)

## Written by

[Aigbiluese Eronmonsele](https://hashnode.com/@erons)

@erons · Abuja, Nigeria

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

Software Developer

I'm a Full-stack JavaScript Developer comfortable with React and Node.js. Available for hire.

## Responses 4

Markdown supported · ⌘↵ to post

[Nahid Faraji](https://hashnode.com/@Nahid5702)

[Dec 5, 2021](https://hashnode.com/posts/javascript-call-apply-and-bind-methods/5d44e1a235898f13721d430c/comment/61acb479a375fb2266f3e384)

Golden Explanation

[Sudeep Gumaste](https://hashnode.com/@sodeep)

[Nov 23, 2019](https://hashnode.com/posts/javascript-call-apply-and-bind-methods/5d44e1a235898f13721d430c/comment/5dd8ac061d03daa468a985ab)

Thanks a ton!

[Dillion Megida](https://hashnode.com/@dillion)

[Aug 6, 2019](https://hashnode.com/posts/javascript-call-apply-and-bind-methods/5d44e1a235898f13721d430c/comment/5d49d590e33bebe64405751b)

This is super interesting. You last code snippet involving the three functions, person2 wasn't not passed into an array for the apply method 😕

[Aigbiluese Eronmonsele](https://hashnode.com/@erons)

[Aug 7, 2019](https://hashnode.com/posts/javascript-call-apply-and-bind-methods/5d44e1a235898f13721d430c/comment/5d49d590e33bebe64405751b#reply-5d4a33b97bf599a008b7179f)

Thanks. That's because there were no extra parameters to be passed apart from the object `this` would be bound to which is the person2 object.

[jimoh hadi](https://hashnode.com/@johadi)

[Aug 7, 2019](https://hashnode.com/posts/javascript-call-apply-and-bind-methods/5d44e1a235898f13721d430c/comment/5d49d590e33bebe64405751b#reply-5d4b216aac06ff5921c1a405)

Great article

[Gideon Idowu](https://hashnode.com/@giddydev)

[Aug 17, 2019](https://hashnode.com/posts/javascript-call-apply-and-bind-methods/5d44e1a235898f13721d430c/comment/5d49d590e33bebe64405751b#reply-5d578b659065a40a3d91194d)

This was helpful. Thanks!

[Ranadheer Reddy](https://hashnode.com/@Ranadheer)

[Aug 6, 2019](https://hashnode.com/posts/javascript-call-apply-and-bind-methods/5d44e1a235898f13721d430c/comment/5d4976bdc6ecc95e4b1b03c7)

Well explained.

[Aigbiluese Eronmonsele](https://hashnode.com/@erons)

[Aug 7, 2019](https://hashnode.com/posts/javascript-call-apply-and-bind-methods/5d44e1a235898f13721d430c/comment/5d4976bdc6ecc95e4b1b03c7#reply-5d4a33e47bf599a008b717a7)

Thanks!
