MCPcopy Index your code
hub / github.com/AyushSaini00/60minuteJavaScript / selectSession

Function selectSession

Pomodoro-Timer/app.js:29–36  ·  view source on GitHub ↗
(session)

Source from the content-addressed store, hash-verified

27}
28
29function selectSession(session){
30 if(session === 'pomodoro')
31 display('25:00');
32 if(session === 'break')
33 display('05:00');
34 if(session === 'long-break')
35 display('10:00');
36}
37
38function reset(){
39 if(interval)

Callers 2

resetFunction · 0.85
app.jsFile · 0.85

Calls 1

displayFunction · 0.85

Tested by

no test coverage detected