var x = someFunction; function someFunction() { return 2; } console.log(x); console.log(x);