function z () { console.log("hello world"); } var x = z; x(); // will print out "called x" z(); // will print out "called x"