MCPcopy Create free account
hub / github.com/AyushSaini00/60minuteJavaScript / reset

Function reset

stopwatch/app.js:56–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54}
55
56function reset(){
57 clearInterval(timerInterval);
58 displayInTimer('00:00:00');
59 elapsedTime = 0;
60 toggleButtons("PLAY");
61}
62function toggleButtons(Key) {
63 if(Key === 'PLAY'){
64 playButton.style.display = 'block';

Callers

nothing calls this directly

Calls 2

displayInTimerFunction · 0.85
toggleButtonsFunction · 0.85

Tested by

no test coverage detected