uppercase javascript
var str = "Hello World!"; var res = str.toUpperCase(); //HELLO WORLD!
lowercase to uppercase in javascript
function changeToUpperCase(founder) { return founder.toUpperCase(); } // calling the function const result = changeToUpperCase("Quincy Larson"); // printing the result to the console console.log(result); // Output: QUINCY LARSON
uppercase and lowercase letters in js
str.toLowerCase() str.toUpperCase()