Sign in

apply() Method in JavaScript

“ Let’s understand apply( ) method in JavaScript ”

image of javascript

To begin with there is no major difference between call() and apply() , in call() the arguments are passed separately , in apply() the arguments are passed in array

go through about call() method here