call(), apply() and bind() in Javascript

Опубликовано: 23 Февраль 2026
на канале: Dheeraj Kumar
11
3

What is call method in Javascript?

Call is a method of an object that can substitute a different object than the one it is written on.

What is Apply method in Javascript?
Apply is almost identical to call, except that instead of a comma-separated list of arguments, it takes an array of arguments.

What is bind method in Javascript?
Unlike call and apply, bind does not run the method it is used on, but rather returns a new function that can then be called later.

Would love to Stay Connected with you ❤️
LinkedIn -   / krdheeraj51  
Instagram -   / krdheeraj51  
Twitter -   / krdheeraj51  
Facebook -   / krdheeraj51