Concept Flow - setTimeout and clearTimeout
Call setTimeout
Timer starts countdown
Wait for delay
Timer fires
Callback runs
If clearTimeout called before timer fires
Timer cancelled
Callback does NOT run
This flow shows how setTimeout schedules a callback after a delay, and how clearTimeout can cancel it before it runs.