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

Function reset

Pomodoro-Timer/app.js:38–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38function reset(){
39 if(interval)
40 clearInterval(interval);
41 resetTime();
42 selectSession(selectTypeElement.value);
43}
44
45function format(time){
46 let min = Math.trunc(time / 60);

Callers 1

app.jsFile · 0.70

Calls 2

resetTimeFunction · 0.85
selectSessionFunction · 0.85

Tested by

no test coverage detected