1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-09-02 13:52:46 +02:00
Co-authored-by: dsh <daniel.s.holdsworth@gmail.com>
This commit is contained in:
iliAsghar
2024-08-30 12:15:22 +03:30
committed by GitHub
parent cfffdeea15
commit c01a07e7b3

View File

@@ -1,7 +1,8 @@
# bind()
`bind()` method creates a new function with a fixed this value.
The `bind()` method creates a new function with a given `this` value and arguments provided as an array. The original function is not called immediately but can be called later with the `new` keyword or as a normal function call.
Visit the following resources to learn more:
- [@article@Bind Method - MDN Docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind)
- [@article@Understanding Explicit Binding in JavaScript: Call, Bind, and Apply Methods](https://medium.com/@amitsharma_24072/understanding-explicit-binding-in-javascript-call-bind-and-apply-methods-7b6ed0107628)
- [@article@Javascript Function Bind()](https://www.w3schools.com/js/js_function_bind.asp)