Skip to content

Commit 665a49b

Browse files
author
Walle Cyril
authored
Update textToSpeech.js
1 parent fda7413 commit 665a49b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

js/audio/textToSpeech.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

22
const speechSynthesisUtterance = new SpeechSynthesisUtterance();
3-
utterance.lang = "en";
4-
utterance.text = "Hi what is up ?";
3+
speechSynthesisUtterance.lang = "en";
4+
speechSynthesisUtterance.text = "Hi what is up ?";
55
speechSynthesis.speak(speechSynthesisUtterance);

0 commit comments

Comments
 (0)