Knowledge Walls
Laya
Hyderabad, Andhra Pradesh, India
String.prototype.toLocaleUpperCase() Method
2080 Views
Usage 
The toLocaleUpperCase() converts the string into uppercase as toUpperCase method but based on locale settings on the browser.
Syntax 
String.toLocaleUpperCase()
Example
var s1 = 'hello';
var s2 = 'Hello';
var s3 = 'hElLo';

document.write(s1.toLocaleUpperCase());
document.write(s2.toLocaleUpperCase());
document.write(s3.toLocaleUpperCase());
Output 
HELLO
HELLO
HELLO
Best Lessons of "Javascript Syntax with Examples"
Top lessons which are viewed more times.
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details