Files
lodash/noop.js
John-David Dalton 18d0f1d873 Bump to v4.7.0.
2016-03-31 08:47:39 -07:00

21 lines
341 B
JavaScript

/**
* A no-operation function that returns `undefined` regardless of the
* arguments it receives.
*
* @static
* @memberOf _
* @since 2.3.0
* @category Util
* @example
*
* var object = { 'user': 'fred' };
*
* _.noop(object) === undefined;
* // => true
*/
function noop() {
// No operation performed.
}
module.exports = noop;