The Difference Between Call and Apply in Javascript

By | April 10, 2017

call and apply is using for the same purpose-access a function. difference between two is depends on how we are passing the parameters to the function. please see the example below

CALL- we will pass arguments as comma seperated.function take arguments as seperately
APPLY-we will pass the arguments as array. function arguments as array.