What is the purpose of the toLowerCase() method in JavaScript?
toLowerCase()
Converts a string to all uppercase letters.
Converts a string to all lowercase letters.
Converts the first character of a string to lowercase.
Converts the last character of a string to lowercase.