var utterance = new SpeechSynthesisUtterance("This is an example of speech synthesis."); window.speechSynthesis.speak(utterance);