As far as the browser support is concerned this method is supported by almost every browser.
let string = 'a part of the journey is the end.'; string.toUpperCase(); // output: "A PART OF THE JOURNEY IS THE END."
str: attach a new string with the method; it will return the converted string to uppercase.
let string = 'hello this is dummy content'; let upper = string.toUpperCase(); console.log(upper) // output: HELLO THIS IS DUMMY CONTENT