function helloWorld() {

var y = “Hello”;

var x = y + ' World!’;

console.log(x);

}

These statements can then be run easily in one simple command.