Skip to content

Commit 992e5e3

Browse files
author
Cyril Walle
committed
2 parents 1b2bc23 + 665a49b commit 992e5e3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

js/audio/textToSpeech.js

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

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

0 commit comments

Comments
 (0)