The JavaScript string toLowerCase() method transforms the whole string into lowercase letter. Original string will not be modified.
Syntax:
string.toLowerCase()
Return:
String with lowercase letters.
Example:
<!DOCTYPE html> <html> <body> <script> var a ="HELLO WORLD!"; document.write(a.toLowerCase()); </script> </body> </html>