wiki/content/20201111095316-javascript_consuming_promises.md

310 B

date id title
2020-11-11 5280d3db-1858-4b6c-82d7-6a5d5bf5d5c6 JavaScript Consuming Promises

Advice

Use Async functions instead of this.

Syntax

promise
.then(value => { /* fulfillment */ })
.catch(error => { /* rejection */ });