code: function basePick(object, props) {
    object = Object(object);
  
    const { length } = props;
    const result = {};
    let index = -1;
  
    while (++index < length) {
      const key = props[index];
      if (key in object) {
        result[key] = object[key];
      }
    }
  
    return result;
  }
docs: Functions from lodash 4.0.0-pre 
  The base implementation of `_.pick` without support for individual
  property names.
  
  @private
  @param {Object} object The source object.
  @param {string[]} props The property names to pick.
  @returns {Object} Returns the new object.