Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>JavaScript Convert a String to Lowercase Characters</title> </head> <body> <script> let str = "Hello World!"; let result = str.toLowerCase(); document.write(result); // Prints: hello world! </script> </body> </html>