Advice
Use Async functions instead of this.
Syntax
promise
.then(value => { /* fulfillment */ })
.catch(error => { /* rejection */ });
Nov 11, 20201 min read
Use Async functions instead of this.
promise
.then(value => { /* fulfillment */ })
.catch(error => { /* rejection */ });