589 Views
A promise is an object that may produce a single value some time in the future: either a resolved value, or a reason that it's not resolved (e.g., a network error occurred).
0 comments
Join in on a hand-picked round up of the best JavaScript articles every day.
Curated by our Moderators and Voted up by our Community. Free.
A promise is an object that may produce a single value some time in the future: either a resolved value, or a reason that it's not resolved (e.g., a network error occurred).