What is the difference between using call and apply to invoke a function?
call
apply
var func = function() { alert(\'hello!\'); }; >
var func = function() { alert(\'hello!\'); };
Fundamental difference is that call() accepts an argument list, while apply() accepts a single array of arguments.
call()
apply()