JavaScript Clean String String

 inputField.value = " ";
Aggressive Alpaca