Skip to content

Commit feb5c66

Browse files
committed
redundant line removed
1 parent aa73c2b commit feb5c66

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Sprint-3/alarmclock/alarmclock.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ function setAlarm() {
5151
totalSeconds = parsed;
5252
updateDisplay();
5353

54-
if (timer) clearInterval(timer);
55-
5654
timer = setInterval(() => {
5755
totalSeconds--;
5856
totalSeconds = Math.max(0, totalSeconds);

0 commit comments

Comments
 (0)