I'm studying some use-case in Deferred, and I came by this instruction:
$.Deferred().reject().promise() I don't get it, under what condition we call reject() then directly we call promise()?
I mean, if we want to reject the deferred object, how can the rejected deferred represent a promise?