Skip to content

Instantly share code, notes, and snippets.

@qingant
Created March 25, 2020 16:55
Show Gist options
  • Save qingant/5ec5af2f9f4b80d292174c7f72139413 to your computer and use it in GitHub Desktop.
Save qingant/5ec5af2f9f4b80d292174c7f72139413 to your computer and use it in GitHub Desktop.
const main = async () => {
console.log('Hello World');
}
if (import.meta.main) {
main()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment