var showState = function() { console.log("Idle"); }; function showState() { console.log("Ready"); } showState(); // output: Idle