String.toUpperCase toUpperCase Description String.toUpperCase() Return values string primitive. Examples Example #1 – toUpperCase example Runconsole.log('Hello World'.toUpperCase()); // HELLO WORLD External references Mozilla: String.toUpperCase method