mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 18:17:48 +00:00
Bump to v4.4.0.
This commit is contained in:
2
pick.js
2
pick.js
@@ -18,7 +18,7 @@ define(['./_baseFlatten', './_basePick', './rest'], function(baseFlatten, basePi
|
||||
* // => { 'a': 1, 'c': 3 }
|
||||
*/
|
||||
var pick = rest(function(object, props) {
|
||||
return object == null ? {} : basePick(object, baseFlatten(props));
|
||||
return object == null ? {} : basePick(object, baseFlatten(props, 1));
|
||||
});
|
||||
|
||||
return pick;
|
||||
|
||||
Reference in New Issue
Block a user