Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Pratham1253 authored Aug 23, 2024
1 parent 6b8f0df commit b214699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function printNum(event)
ans = performDiv(screen.value)
}

if(ans === undefined)
if(ans == "undefined")
{
screen.value="";
}
Expand Down

0 comments on commit b214699

Please sign in to comment.