JS mengeksekusi fungsi evry detik
function everyTime() {
console.log('each 1 second...');
}
//set execution every x ms
var myInterval = setInterval(everyTime, 1000);
//unset execution every x ms
clearInterval(myInterval);
mattia896