1 var arrayReduce = require('./_arrayReduce');
4 * The base implementation of `_.pick` without support for individual
8 * @param {Object} object The source object.
9 * @param {string[]} props The property names to pick.
10 * @returns {Object} Returns the new object.
12 function basePick(object, props) {
13 object = Object(object);
14 return arrayReduce(props, function(result, key) {
16 result[key] = object[key];
22 module.exports = basePick;