I\'ve got a JavaScript application that uses a lot of callbacks. A typical function will take a callback, and wrap it with another callback.
Namespace.foo = func
The only reason to use call (or apply) is if you want to set the value of this inside the function.
this
Well, I guess apply can be useful in other cases as it accepts an array of parameters.
apply