What is the purpose of the trimEnd() method in JavaScript?
trimEnd()
Removes whitespace from the beginning of a string.
Converts a string to all lowercase letters.
Removes whitespace from the end of a string.
Converts a string to all uppercase letters.