how to remove capitalization in console.log in javascript code example Example: to upper javascrit var str = "Hello World!"; var res = str.toUpperCase();