How to Disable Text-to Speech feature using JavaScript

I have created an Samsung SmartTv app now want to disable the TTS feature from my app and i have tried multipple methods but none of them worked as i used
function speak(){

var msg = new SpeechSynthesisUtterance(’’);
window.speechSynthesis.speak(msg);
}
this function onload and calling it on every one second but it is not working as aspected

If you are facing any software issues like application stopped working, Boot loop issues, phone not working, and IMEI issue, you can use firmware file to resolves these issues. You can upgrade your device and get back your phone in a factory format. micromax a106 flash file v1 1