Invert method caller with parameter

Answered

Is it possible to switch method caller to become the parameter and vice versa?

Example:

a.call(b)   -->   b.call(a);

 

It would be nice a shortcut for this.

 

thanks in advance.

0
2 comments

It solved my problem completely. But I think that it will maybe be better a specific functionality for this.

Thanks anyway! This helped me much!

0

Please sign in to leave a comment.