Comment by MildlySerious
4 months ago
There is .valueAsNumber. input.value returns a string, regardless of the input type. Making the return type dynamic would be worse, imo.
4 months ago
There is .valueAsNumber. input.value returns a string, regardless of the input type. Making the return type dynamic would be worse, imo.
No comments yet
Contribute on Hacker News ↗