Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 36b7235

Browse files
committed
Modified whatsTheTime.js
1 parent a98715c commit 36b7235

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Week1/js-exercises/ex4-whatsTheTime.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ function StartClock12() {
2222
The12Time += (Cur12Hour >= 12) ? ' PM': ' AM';
2323
document.CForm.Clock12.value = The12Time;
2424
window.status = The12Time;
25-
setTimeout('StartClock12()',1000);
26-
}
25+
26+
}
2727

2828

29-
setInterval(displayCurrentTime, 1000);
29+
setInterval('StartClock12()',1000);

0 commit comments

Comments
 (0)