DEV Community


Discussion on: Truly Understand Bind, Call & Apply

bhagatparwinder profile image
Parwinder πŸ‘¨πŸ»β€πŸ’» Author

I would say the method is called when you are not adjacent or you are detached from the method you are calling.

call serves an extremely important purpose of running a method under a context you provide.

This means that we can call any function, explicitly specifying the reference that this should reference in the calling function.

pris_stratton profile image
pris stratton

I guess what I am getting it as if you had an array called xs and you called map on that array, would you in effect be calling,function)? Since map doesn’t belong to xs. I know I am being very specific here πŸ˜ƒ