A robust timer should derive display from timestamps rather than count animation frames
Browsers can delay callbacks in background tabs or under load. Timestamp-based calculation can catch the display up when the tab resumes, but screen updates and alarms may still be late. Laps record intermediate elapsed points; pausing should stop the active interval rather than erase previous time.