2 * The base implementation of `_.values` and `_.valuesIn` which creates an
3 * array of `object` property values corresponding to the property names
7 * @param {Object} object The object to query.
8 * @param {Array} props The property names to get values for.
9 * @returns {Object} Returns the array of property values.
11 function baseValues(object, props) {
13 length = props.length,
14 result = Array(length);
16 while (++index < length) {
17 result[index] = object[props[index]];
22 module.exports = baseValues;