Created
September 3, 2019 22:39
-
-
Save jackpordi/8de07e45bedec20e2d84894550560bfc to your computer and use it in GitHub Desktop.
Await example
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
async function asyncFunction() { | |
/* Returns a promise... */ | |
} | |
result = await asyncFunction(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment