to upper javascrit

JavaScript
var str = "Hello World!";
var res = str.toUpperCase();
Source

Also in JavaScript: