Skip to content

Commit 5b3b80e

Browse files
committed
feat(JS): remove unused parameters
1 parent 529e3ed commit 5b3b80e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ btns.forEach((btn) => {
7373

7474
handleNumberButton(buttonValue);
7575

76-
deteLastEntry(buttonValue, e);
76+
deteLastEntry(buttonValue);
7777

7878
convertToPercentage(buttonValue);
7979
});
@@ -89,7 +89,7 @@ clearHistoryBtn.addEventListener("click", () => {
8989
historyElement.innerHTML = "";
9090
});
9191

92-
function deteLastEntry(button, e) {
92+
function deteLastEntry(button) {
9393
if (button === "DE") {
9494
let newArray = data.slice(ZERO, -1);
9595
screen.innerText = newArray.join("");

0 commit comments

Comments
 (0)