From 5b89ecac2271aee1b51a4c6b4cb68248737f5dfc Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Sun, 17 Dec 2017 13:12:10 +0200 Subject: [PATCH] Fix typo --- snippets/speech-synthesis-(experimental).md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/speech-synthesis-(experimental).md b/snippets/speech-synthesis-(experimental).md index c9e6a288c..2a5cb1d20 100644 --- a/snippets/speech-synthesis-(experimental).md +++ b/snippets/speech-synthesis-(experimental).md @@ -1,6 +1,6 @@ ### Speech synthesis (experimental) -Use `SpeechSynthesisUtterance.voice` and `indow.speechSynthesis.getVoices()` to convert a message to speech. +Use `SpeechSynthesisUtterance.voice` and `window.speechSynthesis.getVoices()` to convert a message to speech. Use `window.speechSynthesis.speak()` to play the message. Learn more about the [SpeechSynthesisUtterance interface of the Web Speech API](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance).