noop
最后更新于:2022-04-02 00:08:37
## noop
+ [link](./noop "Link to this entry.")
+ [source](https://github.com/lodash/lodash/blob/4.5.0正式版/lodash.src.js#L13530 "View in source.")
+ [npm](https://www.npmjs.com/package/lodash.noop "See the npm package.")
```
_.noop()
```
无论传递什么参数,都返回 `undefined`。
### 示例
```
var object = { 'user': 'fred' };
_.noop(object) === undefined;
// => true
```
';