Skip to content

Commit ea1f7a2

Browse files
fixed the result display issue
1 parent 7506f32 commit ea1f7a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

calculator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ for (let i = 0; i < buttonValues.length; i++) {
7070
{
7171
display.value = numA + numB;
7272
}
73-
clearAll();
7473
}
7574
}
7675
else
@@ -139,3 +138,4 @@ for (let i = 0; i < buttonValues.length; i++) {
139138

140139

141140

141+

0 commit comments

Comments
 (0)