In if Bedingung wie man Alarmmusik in JavaScript festlegt
if (x > 10) {
var snd = new Audio('/alarm.mp3');
snd.play();
alert("Thank you!");
}
Enchanting Eel