JS String Prototype ToUpperCase - ashish9342/FreeCodeCamp GitHub Wiki
The JavaScript method .toUpperCase() returns the same string it was called on, but in all upper case.
Syntax
str.toUpperCase()console.log("hello world".toUpperCase()); // Console will output "HELLO WORLD"Source MDN