const sleep = (ms)=>{ return new Promise(resolve=>{ console.log(`${ms} should wait`); setTimeout(resolve,ms); }) } module.exports={ sleep }