logoalt Hacker News

MildlySeriouslast Thursday at 11:16 PM0 repliesview on HN

There is .valueAsNumber. input.value returns a string, regardless of the input type. Making the return type dynamic would be worse, imo.