I’m using setInterval function at the beginning of my program, but my problem is I don’t want to wait when I start code. I want it to start immediately, after it will apply this timeinterval. Here is my code:
function initialize() {
setInterval(function(){myFunc()},5000);
}
google.setOnLoadCallback(initialize);
try this: