Created
June 8, 2017 08:19
-
-
Save waltzaround/26e6837e652501efecb9727f8cbc534d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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