var num = 0;
module.exports.inspect = (i) => {
  console.log('INSPECTOR #', ++num);
  console.log(i);
  return i;
};

const pluckUser = module.exports.pluckUser = (user) =>
  ({
    id: user.id,
    fbId: user.facebook_id,
    firstName: user.first_name,
    lastName: user.last_name,
    description: user.description,
    photoUrl: user.photo_url,
  });

module.exports.pluckUsers = (users) =>
  users.map((user) => pluckUser(user));

module.exports.pluckLanguages = (offerOrLearnResults) =>
  ({
    canTeach: offerOrLearnResults[0],
    willLearn: offerOrLearnResults[1],
  });

module.exports.pluckMatches = (matchesResults) => (
  matchesResults.map(matchResult => (
    {
      id: matchResult.teach_id,
      firstName: matchResult.teach_first,
      lastName: matchResult.teach_last,
      description: matchResult.teach_description,
      photoUrl: matchResult.teach_url,
      fbId: matchResult.teach_facebook_id,
    }
  ))
);


var num = 0;
module.exports.inspect = (a) => {
  console.log('INSPECTOR #', ++num);
  console.log(a);
  return a;
};

const pluckUser = module.exports.pluckUser = (user) =>
  ({
    id: user.id,
    fbId: user.facebook_id,
    firstName: user.first_name,
    lastName: user.last_name,
    description: user.description,
    photoUrl: user.photo_url,
  });

module.exports.pluckUsers = (users) =>
  users.map((user) => pluckUser(user));

module.exports.pluckLanguages = (offerOrLearnResults) =>
  ({
    canTeach: offerOrLearnResults[0],
    willLearn: offerOrLearnResults[1],
  });

module.exports.pluckMatches = (matchesResults) => (
  matchesResults.map(matchResult => (
    {
      id: matchResult.teach_id,
      firstName: matchResult.teach_first,
      lastName: matchResult.teach_last,
      description: matchResult.teach_description,
      photoUrl: matchResult.teach_url,
      fbId: matchResult.teach_facebook_id,
    }
  ))
);


Use a instead of as input to inspect
Use a instead of as input to inspect
