Answers for "js wait for timeout"

6

js add delay

await new Promise(resolve => setTimeout(resolve, 1000));
Posted by: Guest on March-16-2020
1

javascript sleep settimeout

setTimeout(() => {  console.log("World!"); }, 2000);
Posted by: Guest on March-13-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language