Created
May 19, 2014 13:22
-
-
Save dominictarr/d54f215174b180220901 to your computer and use it in GitHub Desktop.
lodash.noop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/> | |
* Build: `lodash modularize modern exports="npm" -o ./npm/` | |
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/> | |
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE> | |
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors | |
* Available under MIT license <http://lodash.com/license> | |
*/ | |
/** | |
* A no-operation function. | |
* | |
* @static | |
* @memberOf _ | |
* @category Utilities | |
* @example | |
* | |
* var object = { 'name': 'fred' }; | |
* _.noop(object) === undefined; | |
* // => true | |
*/ | |
function noop() { | |
// no operation performed | |
} | |
module.exports = noop; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment