How to Remove White Space from Start or End of a String in JavaScript

How to Remove White Space from Start or End of a String in JavaScript