What is the JavaScript version of sleep()?
There is no sleep function in JavaScript, but with async/await syntax it is very easy to implement....
Tags: sleep, async, await, javascript