ToLocaleUpperCase-1

 

JavaScript toLocaleUpperCase() function is used to convert string to upper case letters. See the code snippet:

 
 
 
<!DOCTYPE html> <html> <head> <title>Welcome to LearnKode - A code learning platform</title> </head> <body> <script> var str = "i love learnkode."; document.write(str.toLocaleUpperCase( )); </script> </body> </html>
Output