let start = Date.now();
await sleep(1000);
console.log(`sleep(1000) - ${Date.now() - start}`);
start = Date.now();
await sleep(1000, 2000);
console.log(`sleep(1000, 2000) - ${Date.now() - start}`);
start = Date.now();
await sleep([1000, 2000, 3000]);
console.log(`sleep([1000, 2000, 3000]) - ${Date.now() - start}`);
let start = Date.now();
await sleep(1000);
console.log(`sleep(1000) - ${Date.now() - start}`);
start = Date.now();
await sleep(1000, 2000);
console.log(`sleep(1000, 2000) - ${Date.now() - start}`);
start = Date.now();
await sleep([1000, 2000, 3000]);
console.log(`sleep([1000, 2000, 3000]) - ${Date.now() - start}`);