Skip to content

Instantly share code, notes, and snippets.

@felipepastorelima
Created April 23, 2018 22:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felipepastorelima/b712fd76d09a1cedd516bec3492c5642 to your computer and use it in GitHub Desktop.
Save felipepastorelima/b712fd76d09a1cedd516bec3492c5642 to your computer and use it in GitHub Desktop.
Strategy - B
const seniorCandidatesRequirements = [
{
matches(candidate) {
return Number(candidate.yearsOfExperience) >= 5;
}
},
{
matches(candidate) {
return candidate.languages && candidate.languages.includes('Javascript');
}
}
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment