()
| 40 | } |
| 41 | |
| 42 | function play(){ |
| 43 | startTime = Date.now() - elapsedTime; |
| 44 | timerInterval = setInterval(function printTime(){ |
| 45 | elapsedTime = Date.now() - startTime; |
| 46 | displayInTimer(timeToString(elapsedTime)); |
| 47 | },10); |
| 48 | toggleButtons("PAUSE"); |
| 49 | } |
| 50 | |
| 51 | function pause(){ |
| 52 | clearInterval(timerInterval); |
nothing calls this directly
no test coverage detected