When working with promises in JavaScript, the then method is triggered upon resolution of a promise, the catch method is activated when a promise is rejected, and the finally method is executed irrespective of the promise's outcome.
In this 3-course series, Scott and Wes serve up some JavaScript Promises treats. In part 1, they unravel the concept of promises and delve into common examples of their usage, from creating and waiting on promises, to database queries and user permissions.