How is it that when you paste an email, phone number, otp code or any other information in a form that doesn't support spaces, instead of trimming them it slices the end of the string or the validation fails.
How is it that all those websites doing js string manipulation on the fly can't do a simple:
"string.trim();"