I found a solution to run interval in javascript immidiately, not waiting for a first \"timeout\"
setInterval(function hello() { console.log(\'world\'); retu
Try this example
var hello = function() { document.write('hello... '); }; setInterval(hello, 1000); hello();