Advertisement
Mdoyleazz

Untitled

May 23rd, 2022
622
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
RAW Paste Data Copied
Advertisement