seniorjQuery

What are Deferred objects in jQuery and how do they compare to native Promises?

Updated May 14, 2026

Short answer

Deferred objects are jQuery's abstraction for asynchronous workflows, similar to Promises but with older semantics and additional control methods.

Deep explanation

Before native JavaScript Promises became standardized, jQuery introduced Deferred objects to simplify asynchronous programming.

A Deferred represents a future value or asynchronous operation.

Core methods:

  • resolve()
  • reject()
  • notify()
  • done()
  • fail()
  • always()
  • then()

Differences from native Promises:

  1. Deferreds are mutable while Promises are immutable.
  2. Deferreds support progress notifications.
  3. Promise behavior is more standardized.
  4. Deferred chaining behavior historically differed from Promise/A+ specifications.…

Unlock with a Pro subscription to view this section.

View pricing

Real-world example

No real-world example available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Common mistakes

No common mistakes listed yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Follow-up questions

No follow-up questions available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

More jQuery interview questions

View all →