mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 09:27:49 +00:00
Bump to v4.13.0.
This commit is contained in:
9
noop.js
9
noop.js
@@ -1,6 +1,5 @@
|
||||
/**
|
||||
* A no-operation function that returns `undefined` regardless of the
|
||||
* arguments it receives.
|
||||
* A method that returns `undefined`.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
@@ -8,10 +7,8 @@
|
||||
* @category Util
|
||||
* @example
|
||||
*
|
||||
* var object = { 'user': 'fred' };
|
||||
*
|
||||
* _.noop(object) === undefined;
|
||||
* // => true
|
||||
* _.times(2, _.noop);
|
||||
* // => [undefined, undefined]
|
||||
*/
|
||||
function noop() {
|
||||
// No operation performed.
|
||||
|
||||
Reference in New Issue
Block a user