The browser provides extra help. When you use a timer, JavaScript hands that task to the browser. The browser handles the wait. Once the timer ends, the browser tells JavaScript to run the callback.