Web development · JavaScript values and variables

Converting on purpose

Whatever a visitor types into a page reaches your script as text, so arithmetic on it starts with a conversion.