More About JavaScript ES6 Promises methods
More details about how to use JavaScript ES6 Promises.
Includes how to use the built-in resolve and reject methods
Promises.resolve( )
Promises.reject( )
Code GIST: https://gist.github.com/prof3ssorSt3v3/a808cb3136c7ccb94104905296930370
MDN resolve reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/resolve
MSN reject reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/reject
Please watch the other Promise video first.
Promise.all( ) method video: https://www.youtube.com/watch?v=0jcEluMNy5A
Please feel free to ask questions below.
source