[week2-after] setInterval 리팩토링