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

Function resetTime

Pomodoro-Timer/app.js:20–27  ·  view source on GitHub ↗
(selectType)

Source from the content-addressed store, hash-verified

18}
19
20function resetTime(selectType){
21 if(selectType === 'pomodoro')
22 time = 25*60;
23 if(selectType === 'break')
24 time = 5*60;
25 if(selectType === 'long-break')
26 time = 10*60;
27}
28
29function selectSession(session){
30 if(session === 'pomodoro')

Callers 3

startFunction · 0.85
resetFunction · 0.85
app.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected