Function that calls url

I was wondering if there was a way to get a function to run the getURL statement? something similar to this:

function go(){
getURL(“www.whatever.com”,"_blank");
}