Skip to content

Commit 35c4a7c

Browse files
remove redundant assignment of remainingSeconds in setAlarm function
1 parent 74c4c23 commit 35c4a7c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Sprint-3/alarmclock/alarmclock.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ function setAlarm() {
1111
const alarmSetEl = document.getElementById("alarmSet");
1212
const timeRemainingEl = document.getElementById("timeRemaining");
1313
let totalSeconds = +alarmSetEl.value;
14-
remainingSeconds = totalSeconds;
1514

1615
if (
1716
totalSeconds <= 0 ||

0 commit comments

Comments
 (0)