fC(gC(function(){success,failure};),failure);
but the desired answer checked gC even if fC already failed..
I'm not sure that makes sense?
> Your function bothC should call both fC and gC no matter what
What happens in your code if fC fails?
fC(gC(function(){success,failure};),failure);
but the desired answer checked gC even if fC already failed..