I am making a game with HTML5 and JavaScript.
How could I play game audio via JavaScript?
var song = new Audio(); song.src = 'file.mp3'; song.play();