Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
80742 views
1
/**
2
* A no-operation function that returns `undefined` regardless of the
3
* arguments it receives.
4
*
5
* @static
6
* @memberOf _
7
* @category Utility
8
* @example
9
*
10
* var object = { 'user': 'fred' };
11
*
12
* _.noop(object) === undefined;
13
* // => true
14
*/
15
function noop() {
16
// No operation performed.
17
}
18
19
module.exports = noop;
20
21