JavaScript - Promises - Statuses


A promise can have 3 states:

1. pending (not resolved or rejected)
2. fulfilled
3. rejected

The promise.status property, which is code-inaccessible and private, contains 
information about these states.  When a promise is rejected or resolved, this 
status is permanently associated with it.  This means that a promise can be 
success or failed only once.
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License