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 2cd628f commit 61111e7Copy full SHA for 61111e7
Sprint-3/alarmclock/alarmclock.js
@@ -27,6 +27,7 @@ function setAlarm() {
27
const input = document.getElementById("alarmSet");
28
if (input.value === "") return;
29
remainingSeconds = Number(input.value);
30
+ if (!Number.isFinite(remainingSeconds)) return;
31
clearInterval(timerId);
32
timerId = null;
33
0 commit comments