Revert "Merge branch 'jest'"

This reverts commit f76e9e108f.
This commit is contained in:
Marvin Gay
2021-05-12 21:47:42 -04:00
parent f76e9e108f
commit ad1c0c407f
45 changed files with 217 additions and 6166 deletions
+3 -2
View File
@@ -1,8 +1,9 @@
# Exercise 12 - Find the Oldest
# Find the Oldest
Given an array of objects representing people with a birth and death year, return the oldest person.
given an array of objects representing people with a birth and death year, return the oldest person.
## Hints
- You should return the whole person object, but the tests mostly just check to make sure the name is correct.
- this can be done with a couple of chained array methods, or by using `reduce`.
- One of the tests checks for people with no death-date.. use JavaScript's Date function to get their age as of today.
+2 -4
View File
@@ -1,5 +1,3 @@
const findTheOldest = function() {
};
let findTheOldest = function() {
}
module.exports = findTheOldest;