var t = 0 var timer = () => { t += 1 console.log(t); } // 변수 선언만해도 작동을 해버린다고? var play = setInterval(timer, 1000); clearInterval(play);