PromiseRejectionEvent
interface
interface PromiseRejectionEvent extends Eventvariable
var PromiseRejectionEvent: { … }The constructor object for PromiseRejectionEvent, used to
construct the event dispatched on the global scope as unhandledrejection
and rejectionhandled when a promise is rejected without a handler.
Constructors
constructor
new PromiseRejectionEvent(type: string, eventInitDict?: PromiseRejectionEventInit): PromiseRejectionEventProperties
promise
readonly promise: Promise<any>reason
readonly reason: anyprototype
readonly prototype: PromiseRejectionEvent