Write Your JavaScript Code Here

// trim():- It trims the white space from the left and right side of the string. let srt=" Dodge Viper "; let srt1=srt.trim(); console.log(srt); console.log(srt1);

Output: