promise
.then((result) => { ··· })
.catch((error) => { ··· })
.finally(() => {
/\*logic independent of success/error \*/
})
The handler is called when the promise is fulfilled or rejected
Useful links
For further actions, you may consider blocking this person and/or reporting abuse
FatimaAlam1234 -
Aritra Das -
Haruka Kakiuchi -
Abdullah Ali -
Top comments (0)