Skip to content

Commit fda7413

Browse files
author
Walle Cyril
authored
Update textToSpeech.js
1 parent 9ec1c4a commit fda7413

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

js/audio/textToSpeech.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

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

0 commit comments

Comments
 (0)