update snippets 0-All
This commit is contained in:
committed by
Agamemnon Zorbas
parent
6bedb8fba4
commit
0c129cdd02
@ -13,5 +13,8 @@ const speechSynthesis = message => {
|
||||
msg.voice = window.speechSynthesis.getVoices()[0];
|
||||
window.speechSynthesis.speak(msg);
|
||||
};
|
||||
// speechSynthesis('Hello, World') -> plays the message
|
||||
```
|
||||
|
||||
```js
|
||||
speechSynthesis('Hello, World') -> // plays the message
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user