Updated ReadMe.md

changed `indow.speechSynthesis.getVoices()` to `window.speechSynthesis.getVoices()` in Speech synthesis (experimental)
This commit is contained in:
Vivek
2017-12-17 16:34:58 +05:30
committed by GitHub
parent 91a2d15b48
commit f361a313ae

View File

@ -1058,7 +1058,7 @@ const standardDeviation = (arr, usePopulation = false) => {
### 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).