mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 02:17:48 +00:00
Apply even more let/const transforms.
This commit is contained in:
2
pick.js
2
pick.js
@@ -18,6 +18,6 @@ import flatRest from './_flatRest.js';
|
||||
* _.pick(object, ['a', 'c']);
|
||||
* // => { 'a': 1, 'c': 3 }
|
||||
*/
|
||||
var pick = flatRest((object, paths) => object == null ? {} : basePick(object, paths));
|
||||
const pick = flatRest((object, paths) => object == null ? {} : basePick(object, paths));
|
||||
|
||||
export default pick;
|
||||
|
||||
Reference in New Issue
Block a user