The PromiseRejectionEvent.promise
read-only property indicates the JavaScript Promise
which has been rejected. You can examine the event's PromiseRejectionEvent.reason
property to learn why the promise was rejected.
promise = PromiseRejectionEvent.promise
Specification | Status | Comment |
---|---|---|
WHATWG HTML Living Standard The definition of 'PromiseRejectionEvent.promise' in that specification. | Living Standard | Initial definition. |
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | 49 | No support | No support | No support | No support |
Feature | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | No support | No support | No support | No support | No support |
© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/PromiseRejectionEvent/promise