Last active
January 26, 2019 06:27
-
-
Save irridescentrambler/e84d4f427d201c3266600aec911e3f06 to your computer and use it in GitHub Desktop.
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
// Resolved promise | |
let promise1 = new Promise((resolve, reject) => { | |
resolve("Resolved this promise") | |
}); | |
// Rejected promise | |
let promise2 = new Promise((resolve, reject) => { | |
reject("Rejected the promise"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment