Skip to content

Instantly share code, notes, and snippets.

@ilanl
Created March 21, 2020 13:34
Show Gist options
  • Save ilanl/e9dbddc270bdc00384596558b36900d4 to your computer and use it in GitHub Desktop.
Save ilanl/e9dbddc270bdc00384596558b36900d4 to your computer and use it in GitHub Desktop.
const delay = t => new Promise(resolve => setTimeout(resolve, t));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment