toUpperCase < String < JavaScript
The toUpperCase() of a String returns the string converted to uppercase.
const sentence = 'The quick brown fox jumps over the lazy dog.';
const sentenceUpperCase = sentence.toUpperCase();
console.log(sentenceUpperCase);
// "THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG."