Function test

This commit is contained in:
Jason McPheron 2024-04-22 07:54:21 -07:00
parent 1369d1cfbb
commit 20483d4c40

View file

@ -27,6 +27,8 @@ document.getElementById('bustGhost').addEventListener('click', function() {
ghostGameRunning = false;
document.getElementById('bustGhost').style.display = 'none';
});
function jjm(){
timerHistory.push(time);
const newTime = document.createElement('li');
newTime.textContent = `Time: ${time} ms`;
@ -51,4 +53,4 @@ document.getElementById('timerButton').addEventListener('click', function() {
this.textContent = 'Start Timer';
recordTime(elapsedTime);
}
});
});