ToLocaleLowerCase-2

 

JavaScript toLocaleLowerCase() will convert strings to lower case

 
 
 
<!DOCTYPE html> <html> <head> <title>Welcome to LearnKode - A code learning platform</title> </head> <body> <script> var Str1 = "Learn JavaScript at LearnKode"; var Str3 = Str1.toLocaleLowerCase(); var Str4 = "Hi, This is FROM JS".toLocaleLowerCase(); var Str5 = "JAVASCRIPT LOWERCASE".toLocaleLowerCase(); document.write("<b> Lowercase Letters are:</b> " + Str3); document.write("<br \> <b> Lowercase Letters are: </b> " + Str4); document.write("<br \> <b> Lowercase Letters are: </b> " + Str5); </script> </body> </html>
Output