mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 18:07:49 +00:00
Bump to v4.4.0.
This commit is contained in:
2
pick.js
2
pick.js
@@ -20,7 +20,7 @@ var baseFlatten = require('./_baseFlatten'),
|
||||
* // => { '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));
|
||||
});
|
||||
|
||||
module.exports = pick;
|
||||
|
||||
Reference in New Issue
Block a user