Wie man Text zu Sprache in JavaScript macht

var msg = new SpeechSynthesisUtterance();
msg.text = "Hello World";
window.speechSynthesis.speak(msg);
Jumpy Coder