How to pass an arguments array to a function without changing context?

I am dealing with functions which are each bound to a specific context. Somewhere else in the code, I have to call them with a variable number of arguments. Normally, I would do it with apply, but that would change the context (this).

Can I achieve the effect of apply( null, args ) without changing the existing, bound value of this in the function?

(I don’t have the value of the functions’s this at hand in a variable when the call needs to happen.)

Source: New Questions

Leave a Reply