JavaScript String trim() method : The trim() method is used to trim the unwanted extra space from both sides (left and right). It returns the new string without having the white-space on both sides.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results