From 20483d4c403dfdbb1bb82c577dfb0d4d3d6cb9eb Mon Sep 17 00:00:00 2001 From: Jason McPheron Date: Mon, 22 Apr 2024 07:54:21 -0700 Subject: [PATCH] Function test --- public/script.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/script.js b/public/script.js index 567ce3b..3e8cc32 100644 --- a/public/script.js +++ b/public/script.js @@ -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); } -}); \ No newline at end of file +});