Posts by user203904 • 1 point
1 post
-
0
votes1
answer35
viewsA: Differentiate empty input from input with value 0
The type of the value of an input is always a string, so an unfilled input will have '', as an input filled in with 0 will possess '0'. The fact that you are not able to differentiate an empty…
javascriptanswered user203904 1