We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa73c2b commit feb5c66Copy full SHA for feb5c66
Sprint-3/alarmclock/alarmclock.js
@@ -51,8 +51,6 @@ function setAlarm() {
51
totalSeconds = parsed;
52
updateDisplay();
53
54
- if (timer) clearInterval(timer);
55
-
56
timer = setInterval(() => {
57
totalSeconds--;
58
totalSeconds = Math.max(0, totalSeconds);
0 commit comments