String.toUpperCase

toUpperCase

Description

String.toUpperCase()

Return values

string primitive.

Examples

Example #1 – toUpperCase example
console.log('Hello World'.toUpperCase()); // HELLO WORLD

External references