Skip to content

noop

js
_.noop()

此方法返回 undefined

¥This method returns undefined.

新增于

¥Since

2.3.0

示例

¥Example

js
_.times(2, _.noop);
// => [undefined, undefined]

Lodash v4.17 中文网 - 粤ICP备13048890号