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 you to iterate over the elements of an array and perform a specified action for each element. It is a convenient way to loop through array elements without having to use a traditional for loop.