JavaScript Objects The Strings Object- toLocaleUpperCase() - Javascript Objects

What is JavaScript String - toLocaleUpperCase() Method?

This method is used to convert the characters within a string to uppercase while respecting the current locale. For most languages, it returns the same output as toUpperCase.

Syntax

Its syntax is as follows −

Return Value

Returns a string in uppercase with the current locale.

Example

LOOK at the following example.

Output

APPLES ARE ROUND, AND APPLES ARE JUICY.


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Javascript Objects Topics