MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / lap

Function lap

assets/js/StopWatch.js:58–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56 );
57}
58function lap() {
59 if (timer) {
60 let li = document.createElement("li");
61 li.innerText = getTimer();
62 lapsContainer.appendChild(li);
63 }
64 document.getElementById('resetlaps').classList.remove("hidden");
65
66}
67function resetlaps() {
68 lapsContainer.innerHTML = "";
69 document.getElementById('resetlaps').classList.add("hidden");

Callers

nothing calls this directly

Calls 1

getTimerFunction · 0.85

Tested by

no test coverage detected