Created
August 4, 2017 08:16
-
-
Save s-ashwinkumar/fb779fdf1bca095e5cf5078bba9a6e33 to your computer and use it in GitHub Desktop.
Consume the first promise
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
willAddNewPost | |
.then(new_post => console.log(new_post)) | |
.catch(error_message => console.log(error_message)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment