code: function pickObject(keys, object) {
    return reduce(
      (newObject, key) => {
        if (object.hasOwnProperty(key)) {
          newObject[key] = object[key];
        }
  
        return newObject;
      },
      {},
      keys
    );
  }
docs: @function pickObject
  
  @description
  pick the values from the given object based on the existence of the keys
  
  @param {Array<number>} keys the keys to match
  @param {Array<*>} object the object to pick from
  @returns {Array<*>} the object with the picked values