3 ms·
There is .valueAsNumber. input.value returns a string, regardless of the input type. Making the return type dynamic would be worse, imo.
by MildlySerious 2y ago
There is .valueAsNumber. input.value returns a string, regardless of the input type. Making the return type dynamic would be worse, imo.