My Blog
Callback in javascript
A callback in JavaScript is a function passed as an argument to another function to be executed later, often after a task or operation has completed.
11/3/2024
Difference between call apply and bind in javascript.
JavaScript’s `this` keyword can be confusing, especially when working with functions and the context they run in. This is where the powerful trio of `bind()`, `call()`, and `apply()` comes in. These methods allow you to set the value of `this` explicitly, making your code more predictable and manageable.
11/2/2024