We just need to use the trim method. trim removes any whitespace from the front and back of a string. const value = input. value.trim() If the input is valid, ...
確定! 回上一頁