Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nafeu/6532701439620cb155ea339f3f9112c7 to your computer and use it in GitHub Desktop.
Save nafeu/6532701439620cb155ea339f3f9112c7 to your computer and use it in GitHub Desktop.
delay(() => '[RETURN VALUE]', 1000)
.then(result => {
console.log(result); // [RETURN VALUE] in result
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment