Comment by MildlySerious
2 days ago
There is .valueAsNumber. input.value returns a string, regardless of the input type. Making the return type dynamic would be worse, imo.
2 days 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 ↗