mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-29 06:26:22 +00:00
293 B
293 B
id | title |
---|---|
5280d3db-1858-4b6c-82d7-6a5d5bf5d5c6 | JavaScript Consuming Promises |
Advice
Use Async functions instead of this.
Syntax
promise
.then(value => { /* fulfillment */ })
.catch(error => { /* rejection */ });