JavaScript String toLocaleUpperCase() MethodJavaScript string toLocaleUpperCase() method converts the string to uppercase letter on the basis of host's current locale. In most cases, this method returns the similar result as the toUpperCase() method. SyntaxThe toLocaleUpperCase() method is represented by the following syntax: ReturnsA string of uppercase letter on the basis of host's current locale. JavaScript String toLocaleUpperCase() Method ExampleLet's see some simple examples of toLocaleUpperCase() method. Example 1Here, we will print the given string in uppercase letter. Test it NowOutput: JAVATPOINT Example 2Let's see one more example to print the given string in uppercase letter. Test it NowOutput: JAVATPOINT
Next TopicJavaScript String
|
JavaTpoint offers too many high quality services. Mail us on [email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected]
Duration: 1 week to 2 week