noop source npm

_.noop()

A no-operation function that returns undefined regardless of the arguments it receives.

Example

var object = { 'user': 'fred' };

_.noop(object) === undefined;
// => true