setInterval can't keep time: building a metronome that doesn't drift

· Dev.to