From 58b13df0c44fc27dbeea6a58cb2a1d962b8e763b Mon Sep 17 00:00:00 2001 From: Mikaela Bell <19698567+mikaelabelle@users.noreply.github.com> Date: Thu, 28 Mar 2024 11:09:18 +1000 Subject: [PATCH] fix result holdover bug --- script.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/script.js b/script.js index 0e5dbe3..9d3392d 100644 --- a/script.js +++ b/script.js @@ -140,7 +140,6 @@ inputs.forEach(button => { updateSecondNum(button) currentDisNum = "second" } - console.log({ firstNum, secondNum, result }) }) }); @@ -157,5 +156,4 @@ equals.addEventListener("click", e => { firstNum = [] secondNum = [] screen.textContent = result - console.log({ firstNum, secondNum, result }) });