News

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.