showing results for - "javascript best way to create synchronous pause in program"
Laura
25 Aug 2019
1console.log("Start");  
2console.time("Promise");  
3await new Promise(done => setTimeout(() => done(), 5000));  
4console.log("End");  
5console.timeEnd("Promise");  
6