speech-text
TODO
言語設定
code:script.js
export const speachText = (text) => {
const utter = new SpeechSynthesisUtterance()
utter.text = text
utter.lang = 'en-US'
speechSynthesis.cancel()
speechSynthesis.speak(utter)
}