setTimeout
- Why do timeouts work this way?
setTimeout
schedules something to happen- JavaScript doesn't wait around until something happens
- Running setTimeout 5 times in a row happens almost instantly
- With no delay between calls, the scheduled functions trigger at almost the same time
18 / 21