MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / clockStart

Function clockStart

assets/js/digitalClock.js:36–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34console.log(interval);
35
36function clockStart() {
37 start.setAttribute("disabled", true);
38 start.classList.add("disabled");
39 interval = setInterval(clock, 1000);
40 stop.removeAttribute("disabled");
41 stop.classList.remove("disabled");
42}
43
44function clockStop() {
45 start.removeAttribute("disabled");

Callers 1

digitalClock.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected