uto uppercase js code example Example: to upper javascrit var str = "Hello World!"; var res = str.toUpperCase();