JS Sleep
Oct 26, 2021
1 min read
const sleep = m => new Promise(r => setTimeout(r, m)); await sleep(3000);