JSFiddle - React, Tailwind, and code Playground

JavaScript

speechSynthesis.speak(new SpeechSynthesisUtterance('Hello World'));