プログラミング(話すパソコン)|ミニタイピング

話すパソコン

 
00分00.00秒
  0   0  コンボLv. 1
全8行のプログラムです

 

 

読み込み中...

 

let kotoba="おはよう、こんにちわ、こんばんわ";↲
↲
let ssu=new SpeechSynthesisUtterance();↲
function hanasu(){↲
→ssu.text=kotoba;↲
→ssu.lang="ja-JP";↲
→window.speechSynthesis.speak(ssu);↲
}