title: How to preload a sound in Javascript?
body: <p>I can preload images easily thanks to the <code>onload</code> function. But it doesn't work with audio. Browsers like Chrome, Safari, Firefox, etc. don't support the <code>onload</code> functions in the audio tag.</p>
  
  <p>How do I preload a sound in Javascript without using JS libraries and without using or creating HTML tags?</p>