how to play a sound file after another sound in javascript
<p>How do I play a sound file after another sound ends? If I do it like</p>

<pre><code>first.play();
second.play();
</code></pre>

<p>Both the sounds play at the same time. I want to play <code>first.play()</code> and when it ends, starts <code>second.play()</code>.</p>
