ran npm run tdd
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
module.exports = speechSynthesis = message => {
|
||||
const speechSynthesis = message => {
|
||||
const msg = new SpeechSynthesisUtterance(message);
|
||||
msg.voice = window.speechSynthesis.getVoices()[0];
|
||||
window.speechSynthesis.speak(msg);
|
||||
};
|
||||
};
|
||||
module.exports = speechSynthesis
|
||||
Reference in New Issue
Block a user