Created
November 12, 2019 20:49
-
-
Save kalda341/a1b970b4fa8b3dfe54a4442a30034259 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
let resolve = null; | |
let reject = null; | |
const promise = new Promise((resolve, reject) => { | |
resolve = resolve; | |
reject = reject; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment