Name
String.toUpperCase( ) — convert a string to uppercase
Availability
JavaScript 1.0; JScript 1.0, ECMAScript v1
Synopsis
string
.toUpperCase( )
Returns
A copy of string
, with each lowercase
letter converted to its uppercase equivalent, if it has one.
Get JavaScript: The Definitive Guide, Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.