mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 03:17:49 +00:00
Bump to v3.0.0.
This commit is contained in:
20
utility/noop.js
Normal file
20
utility/noop.js
Normal file
@@ -0,0 +1,20 @@
|
||||
define([], function() {
|
||||
|
||||
/**
|
||||
* A no-operation function.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @category Utility
|
||||
* @example
|
||||
*
|
||||
* var object = { 'user': 'fred' };
|
||||
* _.noop(object) === undefined;
|
||||
* // => true
|
||||
*/
|
||||
function noop() {
|
||||
// No operation performed.
|
||||
}
|
||||
|
||||
return noop;
|
||||
});
|
||||
Reference in New Issue
Block a user