Created
April 17, 2017 10:08
-
-
Save pionize/87f9eadee525f71b2b2bdbf29b96a8fe to your computer and use it in GitHub Desktop.
Promise Catch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
somePromise().then(function () { | |
return anotherPromise(); | |
}).then(function () { | |
return yetAnotherPromise(); | |
}).catch(console.log.bind(console)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment