Skip to content

Instantly share code, notes, and snippets.

@sergiohidalgo
Created February 28, 2020 14:04
Show Gist options
  • Save sergiohidalgo/0565abc92e97b21c3b84766352ce6273 to your computer and use it in GitHub Desktop.
Save sergiohidalgo/0565abc92e97b21c3b84766352ce6273 to your computer and use it in GitHub Desktop.
JS Gist
sleep = ms => new Promise(resolve => setTimeout(resolve, ms));
(async () => {
await this.sleep(60000);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment