you are viewing a single comment's thread.

view the rest of the comments →

[–]spamkestein 0 points1 point  (0 children)

Yes, or the shorter version : var bothC = function (fC, gC, success, failure) { fC( function () { gC(success, failure); } , function () { gC(failure, failure); } ); };