Co-authored-by: dsh <daniel.s.holdsworth@gmail.com>
This commit is contained in:
iliAsghar
2024-08-30 09:45:22 +01:00
committed by GitHub
co-authored by dsh
parent cfffdeea15
commit c01a07e7b3
@@ -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)