JavaScript Wiki

Question:

b" What is the difference between using Function.prototype.apply() and Function.prototype.call() to invoke a function?var func = function() { alert('hello!');};func.apply(); vs func.call();Are there performance differences between the two aforementioned methods? When is it best to use call over apply and vice versa? "

Solution : https://worcraft-algeria-dz.com/howto/47/javascript---What-is-the-difference-between-call-and-apply? | Source : https://worcraft-algeria-dz.com/