Skip to content

Commit ec0fc3b

Browse files
authored
Add pauseAlarm call before displaying time
1 parent ec05ce8 commit ec0fc3b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎Sprint-3/alarmclock/alarmclock.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ function setAlarm() {
1515
}
1616

1717
clearInterval(interval);
18-
18+
pauseAlarm();
19+
1920
displayTime(time);
2021

2122
interval = setInterval(() => {

0 commit comments

Comments
 (0)