Advertisement
Mdoyleazz

Untitled

May 23rd, 2022
895
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const yourFunction = async () => {
  2.   await setTimeout(() => console.log("Waited for a response"), 5000);
  3. };
  4.  
  5. yourFunction();
  6.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement