Difference between call and apply in JavaScript?
Utilisateur anonyme
call() and apply() serve the exact same purpose. The only difference between how they work is that call() expects all parameters to be passed in individually, whereas apply() expects an array of all of our parameters.