When control hits the passInFunc function, the name of the myfunc function is not relevant. this is where Anonymous functions come into play. Anonymous functions are commonly used as callback parameters when using the Event Emitter pattern described in my article on Node.js Events.