Created
January 15, 2021 01:50
-
-
Save nafeu/0277ead85511e4a6f87da3a788485a20 to your computer and use it in GitHub Desktop.
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
const result = await delay(() => '[RETURN VALUE]', 1000); | |
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