code: function pluck(obj, fields) {
    var plucked = {};
    if (!obj) {
      return;
    }
  
    fields.forEach(function (field) {
      plucked[field] = obj[field];
    });
  
    return plucked;
  }
docs: Plucks a few fields from an object