代码如下:
var utterThis = new window.SpeechSynthesisUtterance('123456'); utterThis.lang='en-US' window.speechSynthesis.speak(utterThis);