let i =0, interval =100, pause =5000;
const text ="My text is here. Yes, it's here.";
construnTyping=(ms)=>setTimeout(()=>showText(), ms);
functionshowText(){$w("#text1").text = text.slice(0, i); i =(i +1)%(text.length +1);
i >0? runTyping(interval):runTyping(pause);
}
$w.onReady(()=>runTyping(interval));