touch your screen to start

In JavaScript we can use two clocks. First one is from class Date and second one is from WebAudio's audioContext.

This test periodically checks values on both clocks and measures how the skew changes over time:

        (audioContext.currentTime * 1000 - new Date().getTime());