transform character to upper case in js code example Example: to upper javascrit var str = "Hello World!"; var res = str.toUpperCase();