Note that when isn't documented as being on the deferred prototype, its only shown as a global function.  I linked this to the global page.