remove spaces from front and back in javascript code example
Example: suppress spaces in front and in the end of a string javascript
var hello = ' Hello there! ';
// returns "Hello there!"
hello.trim();
var hello = ' Hello there! ';
// returns "Hello there!"
hello.trim();