Last active
March 25, 2017 16:01
-
-
Save Gaafar/c5f60d00d9923427a30db29ffedc6c9d 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
// this will not work in top level | |
// await makeRequest() | |
// this will work | |
makeRequest().then((result) => { | |
// do something | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment