In what scenarios do I use bind?

I know that bind returns a function, does not change the original function this, and does not execute immediately.
what I want to know is the usage scenario?
Why use bind instead of call and apply directly?

Jun.07,2022

No one answered for a long time. I checked a lot and thought a lot. I'd better answer it myself.

The parameters of

call and apply call functions are fixed, and bind can call again and pass parameters again, so you can use bind

when the scene needs to pass parameters multiple times.
Menu