speak method

void speak(
  1. SpeechSynthesisUtterance utterance
)

The speak() method of the SpeechSynthesis interface adds an SpeechSynthesisUtterance to the utterance queue; it will be spoken when any other utterances queued before it have been spoken.

Implementation

external void speak(SpeechSynthesisUtterance utterance);