Created
August 11, 2017 21:25
-
-
Save supasympa/ffac822654ac8b0e5cc50ea506bf6651 to your computer and use it in GitHub Desktop.
The simplest Javascript async / await I could come up with
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
| const main = async () => console.log(await Promise.resolve("Hello World!")); | |
| main(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment