Javascript sleep promise javascript sleep const sleep = (ms) => new Promise( (r) => setTimeout(r, ms)); 29 августа 2020, 22:22