submitting assignment #2
fixing semicolons at the end of the lines
fixed XOR with ^ function. Removed the other two.
trying to solve it without split
Adding String Delimiter Function
Forgot to delete uneeded variable
deleting test cases
Changed function name to be less ambiguous
Changed variable & function names to be more precise and legible. Changed .substring implementation to .charAt.
removed var lines
created two functions: one to get the highest age and one to get an array of fathers names. Using for loop was easiest for now
Changed implementation to add string together instead
editted the function getFathersName to remove duplicates and undefined. Create forEach loop to return a name of a person who is in the getFathersName array and person's age is equal to highest age. Problem the hightest age currently is of the person who is not a father so my forEach returns undefined. I think i have to nest my oldest person function into the forEach loop.
still lost in the loops. will continue working on it.
Figured out how to get the age of the oldest father. Need to figure out how to return the name of the father.
Figured out how to get the name of the oldest father.Just need to clean up.
Merge branch 'master' of https://github.com/codefellows/sea-c11-javascript
commiting a working script. Got a bit too creative with an output. Let me know if I need to clean it up.
functionDecorator.js for review
Adding updated functionDecorator.js