trim not working javascript 28 Trim Not Working Javascript The trim () method removes whitespace from both ends of a string. Note: This method does not change the original string. In… Written By Susan R. Robinson Saturday, September 2, 2017 Add Comment Edit