18 - split(), trim(), and array.forEach()
In JavaScript, the split() method is a string method that allows you to split a string into an array of substrings based on a specified delimiter. The trim() method in JavaScript is a string method that removes whitespace (spaces, tabs, and newlines) from both ends of a string. The forEach() method is an array method in JavaScript that allows ...