()
| 16 | document.getElementById('resetlaps').classList.add("hidden"); |
| 17 | } |
| 18 | function run() { |
| 19 | stopwatchEl.textContent = getTimer(); |
| 20 | ms++; |
| 21 | if (ms == 100) { |
| 22 | ms = 0; |
| 23 | s++; |
| 24 | } |
| 25 | if (s == 60) { |
| 26 | s = 0; |
| 27 | m++; |
| 28 | } |
| 29 | } |
| 30 | function stop() { |
| 31 | clearInterval(timer); |
| 32 | timer = false; |
nothing calls this directly
no test coverage detected