Skip to content

Commit

Permalink
fix result holdover bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelabelle committed Mar 28, 2024
1 parent bfd92ef commit 58b13df
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ inputs.forEach(button => {
updateSecondNum(button)
currentDisNum = "second"
}
console.log({ firstNum, secondNum, result })
})
});

Expand All @@ -157,5 +156,4 @@ equals.addEventListener("click", e => {
firstNum = []
secondNum = []
screen.textContent = result
console.log({ firstNum, secondNum, result })
});

0 comments on commit 58b13df

Please sign in to comment.