touppercase using string interpolation javascript code example Example: javascript uppercase string var str = "Hello World!"; var res = str.toUpperCase();