function pickShallow (object, properties) {
  const copy = {}

  for (let i = 0; i < properties.length; i++) {
    const key = properties[i]
    const value = object[key]
    if (value !== undefined) {
      copy[key] = value
    }
  }

  return copy
}
Shallow version of pick, creating an object composed of the picked object properties
but not for nested properties
@param {Object} object
@param {string[]} properties
@return {Object}