Skip to content

Instantly share code, notes, and snippets.

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 waltzaround/26e6837e652501efecb9727f8cbc534d to your computer and use it in GitHub Desktop.
Save waltzaround/26e6837e652501efecb9727f8cbc534d to your computer and use it in GitHub Desktop.
// iterate through the number of objects in the array
// check first names against firstName
// does it have the property we are looking for? if it does, carry on to the next line
// then return the property we are looking for
// otherwise...
// return the fact that we dont have the property we are looking for
// if we dont have the property or the name...
// then return the fact that we dont have the name in our objects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment