When using JS, audio.duration (https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/duration) provides the duration of an audio file, measured in seconds. Which calculation produces the number returned by that property?
Suppose the file is WAV format.