一定時間ごとに処理を実行する
code:js
setInterval(func, 1000);
function func() {
console.log('hello');
}
#JavaScript