---
title: "Discussion on \"bind() function in Javascript\" | Hashnode"
description: "Discussion on \"bind() function in Javascript\". function.prototype.bind() accepts an Object. \nIt binds the calling function to the passed Object and the returns the same.\nWhen an object is bound to a function, it means you will be able to access the values of that object from within the function u..."
url: "https://hashnode.com/posts/bind-function-in-javascript/601e07f6072bc516ff6f49a1"
---

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

Discussion

# [bind() function in Javascript](https://vanmeeganathan.hashnode.dev/bind-function-in-javascript?utm_source=hashnode&utm_medium=feed)

function.prototype.bind() accepts an Object. It binds the calling function to the passed Object and the returns the same. When an object is bound to a function, it means you will be able to access the values of that object from within the function u...

Feb 6, 2021 · 3 min read · vanmeeganathan.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#es6](https://hashnode.com/tag/es6)
-   [#functional-programming](https://hashnode.com/tag/functional-programming)

## Written by

[Vanmeeganathan P K](https://hashnode.com/@Vanmeeganathan)

@Vanmeeganathan

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

React & Javascript enthusiast | SDE II Frontend @ Sixt R&D India | Ex-Oracle

I am a React &amp; Javascript Developer.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
