Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const yourFunction = async () => {
- await setTimeout(() => console.log("Waited for a response"), 5000);
- };
- yourFunction();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement