JS Anonymous Async Function
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
//we couldn't find a good example of this anywhere... so here it is! | |
!(async function(){ | |
//async code here runs immediately | |
})() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment